summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-11-12 22:56:31 +0000
committertron <tron@pkgsrc.org>1999-11-12 22:56:31 +0000
commit2b7fce65e24f1f10cc7225fae0a35816770347cb (patch)
tree43591e3fd1b8076e87c116638f1a7b00051e7004 /www
parent897db03df313e37e49a59aec915f8d0ed5295d8e (diff)
downloadpkgsrc-2b7fce65e24f1f10cc7225fae0a35816770347cb.tar.gz
Define defaults for configuration variables after including "bsd.pkg.mk"
of course.
Diffstat (limited to 'www')
-rw-r--r--www/squid/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile
index 282c8ce15f7..e0bc29fe929 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 1999/11/12 22:20:49 tron Exp $
+# $NetBSD: Makefile,v 1.22 1999/11/12 22:56:31 tron Exp $
DISTNAME= squid-2.2.STABLE5-src
PKGNAME= squid-2.2s5
@@ -13,15 +13,7 @@ MASTER_SITES= \
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://squid.nlanr.net/Squid/
-BUILD_DEPENDS= ${LOCALBASE}/bin/perl:../../lang/perl5
-
-# Configuration options which can be overwritten by the user.
-SQUID_CONFIGURE_ARGS?= --enable-cachemgr-hostname=localhost \
- --enable-icmp \
- --enable-ipf-transparent \
- --enable-snmp
-SQUID_HTTP_PORT?= 3128
-SQUID_ICP_PORT?= 3130
+BUILD_DEPENDS+= ${LOCALBASE}/bin/perl:../../lang/perl5
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=/etc \
@@ -38,6 +30,13 @@ PLIST_SRC= ${PKGDIR}/PLIST ${WRKDIR}/PLIST.share
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}
.include "../../mk/bsd.prefs.mk"
+# Configuration options which can be overwritten by the user.
+SQUID_CONFIGURE_ARGS?= --enable-cachemgr-hostname=localhost \
+ --enable-icmp \
+ --enable-ipf-transparent \
+ --enable-snmp
+SQUID_HTTP_PORT?= 3128
+SQUID_ICP_PORT?= 3130
.if ${OPSYS} == "SunOS"
DEPENDS+= egcs-1.1.2:../../lang/egcs