summaryrefslogtreecommitdiffstats
path: root/libraries/xapian-bindings
diff options
context:
space:
mode:
author dsomero2012-09-30 02:43:37 +0200
committer Robby Workman2012-10-01 03:01:03 +0200
commit1dfe76f9ae0efad4ff27958b4ed64c9541584938 (patch)
tree134e37d4d68a231135ec807aa781768148c70f97 /libraries/xapian-bindings
parent8224d8f7d069c5fb751ded090c7fc5361317bda7 (diff)
downloadslackbuilds-1dfe76f9ae0efad4ff27958b4ed64c9541584938.tar.gz
libraries/xapian-bindings: Fixed (Don't use /usr/local for perl)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/xapian-bindings')
-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 56aa08ef36..294647f884 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 \