summaryrefslogtreecommitdiff
path: root/www/apache22/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache22/buildlink3.mk')
-rw-r--r--www/apache22/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/www/apache22/buildlink3.mk b/www/apache22/buildlink3.mk
index 162c4cbacf1..89383370fd0 100644
--- a/www/apache22/buildlink3.mk
+++ b/www/apache22/buildlink3.mk
@@ -1,17 +1,10 @@
-# $NetBSD: buildlink3.mk,v 1.6 2008/09/06 20:54:34 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2009/03/20 19:25:35 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-APACHE_BUILDLINK3_MK:= ${APACHE_BUILDLINK3_MK}+
+BUILDLINK_TREE+= apache
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= apache
-.endif
+.if !defined(APACHE_BUILDLINK3_MK)
+APACHE_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Napache}
-BUILDLINK_PACKAGES+= apache
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}apache
-
-.if !empty(APACHE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.apache+= apache>=2.2.3
BUILDLINK_ABI_DEPENDS.apache?= apache>=2.2.9nb3
BUILDLINK_PKGSRCDIR.apache?= ../../www/apache22
@@ -26,9 +19,9 @@ APXS?= ${BUILDLINK_PREFIX.apache}/sbin/apxs
. if defined(GNU_CONFIGURE)
CONFIGURE_ARGS+= --with-apxs2=${APXS:Q}
. endif
-.endif # APACHE_BUILDLINK3_MK
.include "../../devel/apr/buildlink3.mk"
.include "../../devel/apr-util/buildlink3.mk"
+.endif # APACHE_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -apache