diff options
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index e9efa74f38c..d70fff3d588 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1970 2010/04/30 08:14:04 sbd Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1971 2010/05/19 09:12:15 sbd Exp $ # # This file is in the public domain. # @@ -519,6 +519,17 @@ _BUILD_DEFS+= OSVERSION_SPECIFIC DEPENDS+= osabi-${OPSYS}-${OS_VERSION}:../../pkgtools/osabi .endif # OSVERSION_SPECIFIC +.for _pkg_ in ${_BUILTIN_PKGS} +. if defined(USE_BUILTIN.${_pkg_}) && \ + !empty(USE_BUILTIN.${_pkg_}:M[yY][eE][sS]) && \ + defined(BUILTIN_PKG.${_pkg_}) && !empty(BUILTIN_PKG.${_pkg_}) +BUILTIN_PKGS+= ${BUILTIN_PKG.${_pkg_}} +. endif +.endfor +.if defined(BUILTIN_PKGS) +_BUILD_DEFS+= BUILTIN_PKGS +.endif + .PHONY: all .if !target(all) all: ${_PKGSRC_BUILD_TARGETS} |