summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-01 19:47:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-01 19:47:50 +0700
commitf35a797fd84f8cc91a43084ace972645fa8f4f5a (patch)
treefb13c7f35de01d396250a38c065e0ce27d7d91e5
parent02ee032a073c5b48e1ffd65d5ac2f9b3438102cf (diff)
downloadslackbuilds-f35a797fd84f8cc91a43084ace972645fa8f4f5a.tar.gz
libraries/LucenePlusPlus: Fix compatibility with newer boost.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
index 58d715c07c..afebeea0b3 100644
--- a/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
+++ b/libraries/LucenePlusPlus/LucenePlusPlus.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=LucenePlusPlus
VERSION=${VERSION:-3.0.7}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -80,6 +80,7 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_DESTINATION=/usr/lib${LIBDIRSUFFIX} \
+ -DCMAKE_CXX_FLAGS='-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT' \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG