diff options
author | jlam <jlam@pkgsrc.org> | 2003-09-30 10:17:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-09-30 10:17:30 +0000 |
commit | 0995d71967f650188bd85e9d4f4fbcc7fc16f61f (patch) | |
tree | f39281709c363bec4632cd1d21b8e87e54a85f0f /mk | |
parent | 8dd0cfbe7b91c363a0effa30360827ac51e5f22c (diff) | |
download | pkgsrc-0995d71967f650188bd85e9d4f4fbcc7fc16f61f.tar.gz |
Set the final form of the template buildlink3.mk file, after I've had a
strong cup of coffee. This now works the way it was intended: the
buildlink3.mk file sets a variable that can be checked within itself to
see whether it's already been included or not.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index 33fec0d14e9..ce2f87c6c9e 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,13 +1,12 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.21 2003/09/30 00:32:57 jlam Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.22 2003/09/30 10:17:30 jlam Exp $ # # An example package buildlink3.mk file: # # -------------8<-------------8<-------------8<-------------8<------------- # BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +# FOO_BUILDLINK3_MK:= ${FOO_BUILDLINK3_MK}+ # -# .if !defined(FOO_BUILDLINK3_MK) -# FOO_BUILDLINK3_MK= YES -# +# .if !empty(FOO_BUILDLINK3_MK:M\+) # BUILDLINK_DEPENDS.foo?= foo-lib>=1.0 # BUILDLINK_PKGSRCDIR.foo?= ../../category/foo-lib # .endif # FOO_BUILDLINK3_MK @@ -16,7 +15,7 @@ # BUILDLINK_DEPENDS+= foo # .endif # -# .if !defined(FOO_BUILDLINK3_MK) +# .if !empty(FOO_BUILDLINK3_MK:M\+) # BUILDLINK_PACKAGES+= foo # # # We want "-lbar" to eventually resolve to "-lfoo". |