summaryrefslogtreecommitdiff
path: root/www/php4/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/php4/buildlink3.mk')
-rw-r--r--www/php4/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/www/php4/buildlink3.mk b/www/php4/buildlink3.mk
index 94576cb42c1..4904be4b583 100644
--- a/www/php4/buildlink3.mk
+++ b/www/php4/buildlink3.mk
@@ -1,20 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.12 2006/07/08 23:11:13 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2009/03/20 19:25:37 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-PHP_BUILDLINK3_MK:= ${PHP_BUILDLINK3_MK}+
+BUILDLINK_TREE+= php
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= php
-.endif
+.if !defined(PHP_BUILDLINK3_MK)
+PHP_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nphp}
-BUILDLINK_PACKAGES+= php
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}php
-
-.if !empty(PHP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.php+= php-4.4.*
BUILDLINK_ABI_DEPENDS.php+= php>=4.4.1nb3
BUILDLINK_PKGSRCDIR.php?= ../../www/php4
-.endif # PHP_BUILDLINK3_MK
+.endif # PHP_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -php