summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-05 19:09:56 +0000
committerjlam <jlam>2004-03-05 19:09:56 +0000
commit04f41a3b8d89ef1b69c652c4374e1b9502c6283d (patch)
tree0ac6de042ab8c8bd4ec5cff94debc91fb290fbef /mk
parent7051d175bf0db7bfaa7bc535a1fb565c2cb9ce19 (diff)
downloadpkgsrc-04f41a3b8d89ef1b69c652c4374e1b9502c6283d.tar.gz
Update template bsd.buildlink3.mk file to work with to-be-committed
changes to the buildlink3 framework. The changes ensure that BUILDLINK_PACKAGES orders packages so that for any element in the list, the packages to the right do not depend on any packages to the left of that element.
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink3/bsd.buildlink3.mk11
1 files changed, 7 insertions, 4 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk
index e65119f71a3..4a93802ec75 100644
--- a/mk/buildlink3/bsd.buildlink3.mk
+++ b/mk/buildlink3/bsd.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.100 2004/02/23 09:15:33 jlam Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.101 2004/03/05 19:09:56 jlam Exp $
#
# An example package buildlink3.mk file:
#
@@ -10,17 +10,20 @@
# BUILDLINK_DEPENDS+= foo
# .endif
#
+# BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfoo}
+# BUILDLINK_PACKAGES+= foo
+#
# .if !empty(FOO_BUILDLINK3_MK:M+)
# BUILDLINK_DEPENDS.foo+= foo-lib>=1.0
# BUILDLINK_RECOMMENDED.foo?= foo-lib>=1.0nb1
# BUILDLINK_PKGSRCDIR.foo?= ../../category/foo-lib
-# BUILDLINK_PACKAGES+= foo
#
# # We want "-lbar" to eventually resolve to "-lfoo".
# BUILDLINK_TRANSFORM+= l:bar:foo
#
-# . include "../../category/baz/buildlink3.mk"
-# .endif # FOO_BUILDLINK3_MK
+# .include "../../category/baz/buildlink3.mk"
+#
+# .endif # FOO_BUILDLINK3_MK
#
# BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
# -------------8<-------------8<-------------8<-------------8<-------------