diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2011-03-15 23:58:34 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-20 14:08:09 -0500 |
commit | ac83402644da63bc7d8f362ae0961ab1d6e0e202 (patch) | |
tree | 74abbfe7e2089073e860ce0a8dd8f4136b103e64 /libraries/libproxy/libproxy.SlackBuild | |
parent | f62d47af066fd6ebdd7c81f3a2f6a7f2b24432fc (diff) | |
download | slackbuilds-ac83402644da63bc7d8f362ae0961ab1d6e0e202.tar.gz |
libraries/libproxy: Updated for version 0.4.6.
Thanks to David Somero for the fixes and patches. :-)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libproxy/libproxy.SlackBuild')
-rw-r--r-- | libraries/libproxy/libproxy.SlackBuild | 13 |
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 |