summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortron <tron>1999-11-12 22:56:31 +0000
committertron <tron>1999-11-12 22:56:31 +0000
commit36b51818999c128ebf727c9f563a6d8e82986f4e (patch)
tree43591e3fd1b8076e87c116638f1a7b00051e7004 /www
parentd2da6429e422da11e2b793a70172a598af1e9404 (diff)
downloadpkgsrc-36b51818999c128ebf727c9f563a6d8e82986f4e.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