diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-14 21:42:02 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-14 21:42:02 +0000 |
commit | 8d60942c4ed63007e6748edd334f617a570b242a (patch) | |
tree | 605688c58e68b7d52768840c45dd9ed770af4faa /community/libe-book | |
parent | 66cd7ecf322443e2d550a09feb851866881451f8 (diff) | |
download | aports-8d60942c4ed63007e6748edd334f617a570b242a.tar.bz2 aports-8d60942c4ed63007e6748edd334f617a570b242a.tar.xz |
community/libe-book: gcc6 disable werror
Diffstat (limited to 'community/libe-book')
-rw-r--r-- | community/libe-book/APKBUILD | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/community/libe-book/APKBUILD b/community/libe-book/APKBUILD index 6b6520a81f..c34480fde9 100644 --- a/community/libe-book/APKBUILD +++ b/community/libe-book/APKBUILD @@ -14,20 +14,15 @@ install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="http://downloads.sourceforge.net/project/libebook/libe-book-$pkgver/libe-book-$pkgver.tar.bz2" -_builddir="$srcdir"/libe-book-$pkgver +builddir="$srcdir"/libe-book-$pkgver + prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare || return 1 update_config_sub } build() { - cd "$_builddir" + cd "$builddir" # boost-1.59 export CPPFLAGS=-DBOOST_ERROR_CODE_HEADER_ONLY ./configure \ @@ -38,12 +33,13 @@ build() { --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ + --disable-werror \ || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |