[Lunar-commits] <moonbase> libproxy: Using PX_PERL_ARCH is the better way.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Thu May 5 23:59:02 CEST 2011
commit 502a051b6464a16ad5e983c46091cd11ddfb9ee1
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Thu May 5 17:59:02 2011 -0400
libproxy: Using PX_PERL_ARCH is the better way.
---
libs/libproxy/BUILD | 5 +++++
libs/libproxy/DEPENDS | 3 +--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/libs/libproxy/BUILD b/libs/libproxy/BUILD
index d345c5d..b0fef0a 100644
--- a/libs/libproxy/BUILD
+++ b/libs/libproxy/BUILD
@@ -1,5 +1,10 @@
(
+ if in_depends $MODULE perl; then
+ PERL_ARCH=`arch` &&
+ OPTS+=" -DPX_PERL_ARCH=$PERL_ARCH"
+ fi &&
+
OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build" &&
mkdir $OOSB_DIR &&
diff --git a/libs/libproxy/DEPENDS b/libs/libproxy/DEPENDS
index 95a4025..8c2ad48 100644
--- a/libs/libproxy/DEPENDS
+++ b/libs/libproxy/DEPENDS
@@ -16,8 +16,7 @@ optional_depends "Python" \
"for the Python bindings"
optional_depends "perl" \
- "-DWITH_PERL=ON \
- -DPERL_VENDORINSTALL=ON" \
+ "-DWITH_PERL=ON" \
"-DWITH_PERL=OFF" \
"for Perl bindings"
More information about the Lunar-commits
mailing list