aboutsummaryrefslogtreecommitdiff
path: root/libraries/xapian-bindings/xapian-bindings.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/xapian-bindings/xapian-bindings.SlackBuild')
-rw-r--r--libraries/xapian-bindings/xapian-bindings.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/xapian-bindings/xapian-bindings.SlackBuild b/libraries/xapian-bindings/xapian-bindings.SlackBuild
index 56aa08ef3609a..294647f88411b 100644
--- a/libraries/xapian-bindings/xapian-bindings.SlackBuild
+++ b/libraries/xapian-bindings/xapian-bindings.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=xapian-bindings
VERSION=${VERSION:-1.2.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
+export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \