From ac83402644da63bc7d8f362ae0961ab1d6e0e202 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Tue, 15 Mar 2011 23:58:34 -0500 Subject: libraries/libproxy: Updated for version 0.4.6. Thanks to David Somero for the fixes and patches. :-) Signed-off-by: Robby Workman --- libraries/libproxy/libproxy.SlackBuild | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'libraries/libproxy/libproxy.SlackBuild') 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 -- cgit v1.2.3