summaryrefslogtreecommitdiff
path: root/libraries/libproxy/libproxy.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libproxy/libproxy.SlackBuild')
-rw-r--r--libraries/libproxy/libproxy.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/libraries/libproxy/libproxy.SlackBuild b/libraries/libproxy/libproxy.SlackBuild
index 1120d90bc3..5892efaaff 100644
--- a/libraries/libproxy/libproxy.SlackBuild
+++ b/libraries/libproxy/libproxy.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libproxy
-# Copyright 2009,2010 Robby Workman Northport, AL, USA
+# Copyright 2009-2011 Robby Workman Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libproxy
-VERSION=${VERSION:-0.4.2}
+VERSION=${VERSION:-0.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,12 +71,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# http://code.google.com/p/libproxy/source/detail?r=786
+patch -p0 < $CWD/libproxy-mozjs2.patch
+# http://code.google.com/p/libproxy/source/detail?r=774
+patch -p1 < $CWD/mozjs-link_directory.patch
+
cmake . \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -Dlibdir=/usr/lib${LIBDIRSUFFIX} \
- -Dmoduledir=/usr/lib${LIBDIRSUFFIX}/libproxy/${VERSION}/modules \
+ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DMODULE_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX}/libproxy/${VERSION}/modules \
-DPERL_VENDORINSTALL=yes
make