summaryrefslogtreecommitdiff
path: root/network/squid/squid.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-08-09 21:13:56 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 16:37:46 -0500
commit861fd4989add81f559b31b09eef0d79d1b1f37b7 (patch)
tree583bc4ca20573eee5605eccc3d6f0a746be1a4b3 /network/squid/squid.SlackBuild
parent201f72d89d271fb9918f4632338764d29b8abbda (diff)
downloadslackbuilds-861fd4989add81f559b31b09eef0d79d1b1f37b7.tar.gz
network/squid: Updated for version 3.1.20.
Also added --disable-strict-error-checking to configure options to fix build on 14.0 Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/squid/squid.SlackBuild')
-rw-r--r--network/squid/squid.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/squid/squid.SlackBuild b/network/squid/squid.SlackBuild
index 32fca21b37..4b4349e874 100644
--- a/network/squid/squid.SlackBuild
+++ b/network/squid/squid.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=squid
-VERSION=3.1.12
+VERSION=${VERSION:-3.1.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# last option is needed on current
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -89,7 +90,8 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-basic-auth-helpers="NCSA" \
--enable-linux-netfilter \
--enable-async-io \
- --build=$ARCH-slackware-linux
+ --build=$ARCH-slackware-linux \
+ --disable-strict-error-checking
make all
make install DESTDIR=$PKG