aboutsummaryrefslogtreecommitdiffstats
path: root/main/libabw
diff options
context:
space:
mode:
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
}