diff options
author | riastradh <riastradh> | 2013-05-09 23:37:25 +0000 |
---|---|---|
committer | riastradh <riastradh> | 2013-05-09 23:37:25 +0000 |
commit | cec703cf29d80e63a369189af54c1ccdc7995248 (patch) | |
tree | eef7f13a77e111e43481a085f3d5cf0aabb03aa6 /mk/bsd.utils.mk | |
parent | b4ea6815358e106ab97e451afb9445aefa5c0f6b (diff) | |
download | pkgsrc-cec703cf29d80e63a369189af54c1ccdc7995248.tar.gz |
Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.
Build depends are target packages that are needed at build-time for,
e.g., static libraries to link against, header files to include, &c.
Tool depends are native packages that are needed at build-time for,
e.g., compilers/linkers/&c. to run.
ok agc
Diffstat (limited to 'mk/bsd.utils.mk')
-rw-r--r-- | mk/bsd.utils.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.utils.mk b/mk/bsd.utils.mk index 0b509d4273b..0ef2240d975 100644 --- a/mk/bsd.utils.mk +++ b/mk/bsd.utils.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.utils.mk,v 1.9 2011/09/08 20:17:15 abs Exp $ +# $NetBSD: bsd.utils.mk,v 1.10 2013/05/09 23:37:25 riastradh Exp $ # # This Makefile fragment is included by bsd.pkg.mk and defines utility # and otherwise miscellaneous variables and targets. @@ -10,7 +10,7 @@ # DEPENDS_TYPE?= all .if !empty(DEPENDS_TYPE:Mbuild) || !empty(DEPENDS_TYPE:Mall) -_ALL_DEPENDS+= ${BOOTSTRAP_DEPENDS} ${BUILD_DEPENDS} +_ALL_DEPENDS+= ${BOOTSTRAP_DEPENDS} ${BUILD_DEPENDS} ${TOOL_DEPENDS} .endif .if !empty(DEPENDS_TYPE:Minstall) || !empty(DEPENDS_TYPE:Mpackage) || \ !empty(DEPENDS_TYPE:Mall) @@ -32,6 +32,8 @@ show-depends-dirs show-depends-pkgpaths: # _DEPENDS_WALK_CMD holds the command (sans arguments) to walk the # dependency graph for a package. # +# XXX Need to handle TOOL_DEPENDS/BUILD_DEPENDS split and cross-compilation. +# _DEPENDS_WALK_MAKEFLAGS?= ${MAKEFLAGS} _DEPENDS_WALK_CMD= \ ${PKGSRC_SETENV} ECHO=${TOOLS_ECHO:Q} MAKE=${MAKE:Q} \ |