summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-20 11:42:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-12-20 11:42:32 +0700
commit43b5fe31c398bf0a5e3b9342ca42ff413da5d3cf (patch)
treee74f0e6d53be4db09808be0853ef7c6d2facdc93
parent0b7f74936ec1281ba48efe183fcf843376f428cf (diff)
downloadslackbuilds-43b5fe31c398bf0a5e3b9342ca42ff413da5d3cf.tar.gz
libraries/libe-book: Fix for current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libe-book/libe-book.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/libraries/libe-book/libe-book.SlackBuild b/libraries/libe-book/libe-book.SlackBuild
index b20e9ecb22..8736be2144 100644
--- a/libraries/libe-book/libe-book.SlackBuild
+++ b/libraries/libe-book/libe-book.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libe-book
VERSION=${VERSION:-0.1.2}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,9 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-case "${DOC:-no}" in
- yes) doc='--with-docs' ;;
- *) doc='--without-docs' ;;
+case "${DOC:-0}" in
+ 0) doc='--without-docs' ;;
+ *) doc='--with-docs' ;;
esac
if pkg-config --exists cppunit; then
@@ -80,16 +80,15 @@ else
cppunit='--disable-tests'
fi
-CFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \
-CXXFLAGS="$SLKCFLAGS -DBOOST_SYSTEM_NO_DEPRECATED" \
+CXXFLAGS="$SLKCFLAGS -DBOOST_ERROR_CODE_HEADER_ONLY" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --disable-static \
--disable-werror \
--build=$ARCH-slackware-linux \
- $doc \
- $cppunit
+ $cppunit $doc
make
make install DESTDIR=$PKG