aboutsummaryrefslogtreecommitdiffstats
path: root/main/libabw
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-11-04 12:41:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-11-05 13:37:25 +0000
commite209f713f1bd1f1c9aa40d48d459f12aff479bd7 (patch)
treeae253a1dcd72904c1b6fc558b16922977bcfd2ce /main/libabw
parent86ed1f568bd2bcadfdbd83c0196e98f9c2cc35a4 (diff)
downloadaports-e209f713f1bd1f1c9aa40d48d459f12aff479bd7.tar.bz2
aports-e209f713f1bd1f1c9aa40d48d459f12aff479bd7.tar.xz
main/libabw: rebuild against boost-1.59
Diffstat (limited to 'main/libabw')
-rw-r--r--main/libabw/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/libabw/APKBUILD b/main/libabw/APKBUILD
index b23af90c0f..51c09d7f14 100644
--- a/main/libabw/APKBUILD
+++ b/main/libabw/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=libabw
pkgver=0.1.1
-pkgrel=0
+pkgrel=1
pkgdesc="Import filter and tools for AbiWord documents"
url="https://wiki.documentfoundation.org/DLP/Libraries/libabw"
arch="all"
@@ -27,6 +27,9 @@ prepare() {
build() {
cd "$_builddir"
+
+ # workaround for boost 1.59
+ export CPPFLAGS='-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED'
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,6 +38,7 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
+ --disable-werror \
|| return 1
make || return 1
}