diff options
author | jlam <jlam> | 2004-03-12 18:03:53 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-03-12 18:03:53 +0000 |
commit | a8776dd730c2ad2e915c8f88bc89da3c7a08f051 (patch) | |
tree | 4e6e8acd34f7827db7c86521e6d594959ea4e11c /mk | |
parent | e03aa4a7b310d324f6bfea97101e8de08227dd50 (diff) | |
download | pkgsrc-a8776dd730c2ad2e915c8f88bc89da3c7a08f051.tar.gz |
Move a code snippet for easier readability.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index d261d067c28..0eb5a3e71b4 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.112 2004/03/11 08:36:41 jlam Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.113 2004/03/12 18:03:53 jlam Exp $ # # An example package buildlink3.mk file: # @@ -148,18 +148,19 @@ _BLNK_DEPENDS+= ${_pkg_} . endif .endfor +# By default, every package receives a full dependency. +.for _pkg_ in ${_BLNK_PACKAGES} +BUILDLINK_DEPMETHOD.${_pkg_}?= full +.endfor + # Add the proper dependency on each package pulled in by buildlink3.mk # files. BUILDLINK_DEPMETHOD.<pkg> contains a list of either "full" or # "build", and if any of that list is "full" then we use a full dependency -# on <pkg>, otherwise we use a build dependency on <pkg>. By default, -# we use a full dependency. +# on <pkg>, otherwise we use a build dependency on <pkg>. # # We skip the dependency calculation for some phases since they never # use the dependency information. # -.for _pkg_ in ${_BLNK_PACKAGES} -BUILDLINK_DEPMETHOD.${_pkg_}?= full -.endfor _BLNK_PHASES_SKIP_DEPENDS= fetch patch tools buildlink configure build .if empty(_BLNK_PHASES_SKIP_DEPENDS:M${PKG_PHASE}) _BLNK_ADD_TO.DEPENDS= # empty |