summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-13 23:42:27 +0000
committerjlam <jlam@pkgsrc.org>2002-09-13 23:42:27 +0000
commit82497c7f641b52aa709f9474c35e17fe4725f351 (patch)
tree6ca0da3b6801eb06d25628c268b6d6003ef24513 /www
parent671eb5d143668fffe5bbb735ccd6942da541d88d (diff)
downloadpkgsrc-82497c7f641b52aa709f9474c35e17fe4725f351.tar.gz
Use USE_PERL5=build instead of directly depending on perl.
Diffstat (limited to 'www')
-rw-r--r--www/apache/buildlink.mk4
-rw-r--r--www/apache/buildlink2.mk6
2 files changed, 5 insertions, 5 deletions
diff --git a/www/apache/buildlink.mk b/www/apache/buildlink.mk
index edc217981cd..a42891f624a 100644
--- a/www/apache/buildlink.mk
+++ b/www/apache/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.4 2001/12/02 19:41:04 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.5 2002/09/13 23:42:27 jlam Exp $
#
# This Makefile fragment is included by packages that use apxs from Apache.
#
@@ -20,7 +20,7 @@ APACHE_BUILDLINK_MK= # defined
BUILDLINK_DEPENDS.apache?= apache{,6}-1.3.*
# For "apxs":
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5?= build
BUILD_DEPENDS+= ${BUILDLINK_DEPENDS.apache}:../../www/apache
EVAL_PREFIX+= BUILDLINK_PREFIX.apache=apache
diff --git a/www/apache/buildlink2.mk b/www/apache/buildlink2.mk
index f370d53398b..16bdde3c993 100644
--- a/www/apache/buildlink2.mk
+++ b/www/apache/buildlink2.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:40:17 jlam Exp $
+# $NetBSD: buildlink2.mk,v 1.3 2002/09/13 23:42:27 jlam Exp $
.if !defined(APACHE_BUILDLINK2_MK)
APACHE_BUILDLINK2_MK= # defined
@@ -7,8 +7,8 @@ BUILDLINK_PACKAGES+= apache
BUILDLINK_DEPENDS.apache?= apache{,6}-1.3.*
BUILDLINK_PKGSRCDIR.apache?= ../../www/apache
-# For "apxs":
-BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5
+USE_PERL5?= build # for "apxs"
+
.if defined(APACHE_MODULE)
BUILDLINK_DEPMETHOD.apache?= full
.else