summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-29 20:43:37 -0400
committerRobby Workman <rworkman@slackbuilds.org>2012-09-30 20:01:03 -0500
commit1dfe76f9ae0efad4ff27958b4ed64c9541584938 (patch)
tree134e37d4d68a231135ec807aa781768148c70f97
parent8224d8f7d069c5fb751ded090c7fc5361317bda7 (diff)
downloadslackbuilds-1dfe76f9ae0efad4ff27958b4ed64c9541584938.tar.gz
libraries/xapian-bindings: Fixed (Don't use /usr/local for perl)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-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 \