diff options
author | jlam <jlam@pkgsrc.org> | 2004-03-05 19:09:56 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-03-05 19:09:56 +0000 |
commit | eadb7c0805bfa87d05e1bdde7c55dea0db0bd118 (patch) | |
tree | 0ac6de042ab8c8bd4ec5cff94debc91fb290fbef /mk/buildlink3 | |
parent | 78e413a42252f0e4a95eb4c9aec69a8746dbf1f9 (diff) | |
download | pkgsrc-eadb7c0805bfa87d05e1bdde7c55dea0db0bd118.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/buildlink3')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 11 |
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<------------- |