diff options
-rw-r--r-- | Packages.txt | 7 | ||||
-rw-r--r-- | mk/bsd.buildlink.mk | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/Packages.txt b/Packages.txt index f40dd63bbc6..fea12b6cb5b 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.173 2001/07/17 21:19:37 jlam Exp $ +# $NetBSD: Packages.txt,v 1.174 2001/07/20 02:00:47 jlam Exp $ ########################################################################### ========================== @@ -1557,7 +1557,10 @@ for a mythical package foo follows: > .include "../../mk/bsd.buildlink.mk" > -> BUILDLINK_PREFIX.foo= ${LOCALBASE} +> BUILDLINK_DEPENDS.foo?= foo>=1.0 +> DEPENDS+= ${BUILDLINK_DEPENDS.foo}:../../category/foo +> +> EVAL_PREFIX+= BUILDLINK_PREFIX.foo=foo > BUILDLINK_FILES.foo= include/foo.h > BUILDLINK_FILES.foo+= include/bar.h > BUILDLINK_FILES.foo+= lib/libfoo.* diff --git a/mk/bsd.buildlink.mk b/mk/bsd.buildlink.mk index 583ae0e4a81..3b2a33593df 100644 --- a/mk/bsd.buildlink.mk +++ b/mk/bsd.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink.mk,v 1.23 2001/07/06 18:45:15 tron Exp $ +# $NetBSD: bsd.buildlink.mk,v 1.24 2001/07/20 02:00:48 jlam Exp $ # # This Makefile fragment is included by package buildlink.mk files. This # file does the following things: @@ -64,7 +64,10 @@ # # .include "../../mk/bsd.buildlink.mk" # -# BUILDLINK_PREFIX.foo= ${LOCALBASE} +# BUILDLINK_DEPENDS.foo?= foo>=1.0 +# DEPENDS+= ${BUILDLINK_DEPENDS.foo}:../../category/foo +# +# EVAL_PREFIX+= BUILDLINK_PREFIX.foo=foo # BUILDLINK_FILES.foo= include/foo.h # BUILDLINK_FILES.foo+= include/bar.h # BUILDLINK_FILES.foo+= lib/libfoo.* |