summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorbad <bad>1999-04-09 17:54:26 +0000
committerbad <bad>1999-04-09 17:54:26 +0000
commitaacf3a2347ad9321e4a7aae19410cb095a2327b4 (patch)
tree8951677eb1be983c3b86862e962d4377276e25e6 /www
parenta6cc98f99d6898b8c98980ae36232fec6c12d1c0 (diff)
downloadpkgsrc-aacf3a2347ad9321e4a7aae19410cb095a2327b4.tar.gz
BUILD_DEPENDS on the pkg version of perl and make sure configure uses
that. Fixes PR#7348 by rhialto@polder.ubc.kun.nl.
Diffstat (limited to 'www')
-rw-r--r--www/squid/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/squid/Makefile b/www/squid/Makefile
index 404f2d2a272..4335e58f2af 100644
--- a/www/squid/Makefile
+++ b/www/squid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1999/03/08 10:53:57 agc Exp $
+# $NetBSD: Makefile,v 1.8 1999/04/09 17:54:26 bad Exp $
#
DISTNAME= squid-2.0.PATCH2
@@ -15,6 +15,8 @@ EXTRACT_SUFX= -src.tar.gz
MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://squid.nlanr.net/Squid/
+BUILD_DEPENDS= ${LOCALBASE}/bin/perl:${PKGSRCDIR}/lang/perl5
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --sysconfdir=/etc \
--localstatedir=/var/squid
@@ -23,6 +25,7 @@ CONFIGURE_ARGS= --sysconfdir=/etc \
CONFIGURE_ARGS+= --enable-cachemgr-hostname=localhost
CONFIGURE_ARGS+= --enable-icmp
#CONFIGURE_ARGS+= --enable-snmp
+CONFIGURE_ENV+= PERL=${LOCALBASE}/bin/perl
MAKEFILE= makefile
MAKE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}" PKG_PREFIX="${PREFIX}"