summaryrefslogtreecommitdiff
path: root/devel/popt
diff options
context:
space:
mode:
Diffstat (limited to 'devel/popt')
-rw-r--r--devel/popt/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/devel/popt/buildlink3.mk b/devel/popt/buildlink3.mk
index 7e8ab9c6aac..68aa8f95cd7 100644
--- a/devel/popt/buildlink3.mk
+++ b/devel/popt/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.11 2006/07/08 23:10:47 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.12 2009/03/20 19:24:26 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-POPT_BUILDLINK3_MK:= ${POPT_BUILDLINK3_MK}+
+BUILDLINK_TREE+= popt
-.if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+= popt
-.endif
+.if !defined(POPT_BUILDLINK3_MK)
+POPT_BUILDLINK3_MK:=
-BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npopt}
-BUILDLINK_PACKAGES+= popt
-BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}popt
-
-.if !empty(POPT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.popt+= popt>=1.7nb3
BUILDLINK_ABI_DEPENDS.popt+= popt>=1.7nb6
BUILDLINK_PKGSRCDIR.popt?= ../../devel/popt
-.endif # POPT_BUILDLINK3_MK
.include "../../devel/gettext-lib/buildlink3.mk"
+.endif # POPT_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -popt