summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-04-09 17:54:26 +0000
committerbad <bad@pkgsrc.org>1999-04-09 17:54:26 +0000
commit7ef687321e7b3fa376b42611151d40a94ff73554 (patch)
tree8951677eb1be983c3b86862e962d4377276e25e6 /www
parent3ec2b3a69e346f7e8f82832dc974dd25add93179 (diff)
downloadpkgsrc-7ef687321e7b3fa376b42611151d40a94ff73554.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}"