summaryrefslogtreecommitdiff
path: root/www/apache
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-04 23:34:04 +0000
committerjlam <jlam@pkgsrc.org>2004-01-04 23:34:04 +0000
commit2a6f2578ceb8dea84c69d345ba4ee9bd7b5c980c (patch)
treee66d1a7fb76a2717d0a9349bc523aaa4d7516eff /www/apache
parentcb03cc8b04aa34076b2ba9a33e600d292395a391 (diff)
downloadpkgsrc-2a6f2578ceb8dea84c69d345ba4ee9bd7b5c980c.tar.gz
Re-arrange to match example buildlink3.mk file in bsd.buildlink3.mk.
Diffstat (limited to 'www/apache')
-rw-r--r--www/apache/buildlink3.mk19
1 files changed, 9 insertions, 10 deletions
diff --git a/www/apache/buildlink3.mk b/www/apache/buildlink3.mk
index 4662bba775f..2ed238ec748 100644
--- a/www/apache/buildlink3.mk
+++ b/www/apache/buildlink3.mk
@@ -1,9 +1,14 @@
-# $NetBSD: buildlink3.mk,v 1.1 2004/01/03 23:06:45 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2004/01/04 23:34:07 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+
-.if !empty(APACHE_BUILDLINK3_MK:M\+)
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= apache
+.endif
+
+.if !empty(APACHE_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= apache
BUILDLINK_DEPENDS.apache?= apache{,6}-1.3.*
BUILDLINK_PKGSRCDIR.apache?= ../../lang/apache
. if defined(APACHE_MODULE)
@@ -11,16 +16,10 @@ BUILDLINK_DEPMETHOD.apache+= full
. else
BUILDLINK_DEPMETHOD.apache?= build
. endif
-.endif # APACHE_BUILDLINK3_MK
-.if !empty(BUILDLINK_DEPTH:M\+)
-BUILDLINK_DEPENDS+= apache
-USE_PERL5?= build # for "apxs"
-.endif
+USE_PERL5?= build # for "apxs"
+APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs
-.if !empty(APACHE_BUILDLINK3_MK:M\+)
-BUILDLINK_PACKAGES+= apache
-APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs
. if defined(GNU_CONFIGURE)
CONFIGURE_ARGS+= --with-apxs="${APXS}"
. endif