diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-12-20 11:42:32 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-12-20 11:42:32 +0700 |
commit | 43b5fe31c398bf0a5e3b9342ca42ff413da5d3cf (patch) | |
tree | e74f0e6d53be4db09808be0853ef7c6d2facdc93 /libraries | |
parent | 0b7f74936ec1281ba48efe183fcf843376f428cf (diff) | |
download | slackbuilds-43b5fe31c398bf0a5e3b9342ca42ff413da5d3cf.tar.gz |
libraries/libe-book: Fix for current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libe-book/libe-book.SlackBuild | 15 |
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 |