diff options
author | abs <abs@pkgsrc.org> | 2001-09-30 22:10:33 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2001-09-30 22:10:33 +0000 |
commit | e31ba171a2561181a57e000f141583cc795471ab (patch) | |
tree | 4e3bcc5aa2849d6f22a8b4cfa5de424a5e70e653 /mk/bsd.pkg.mk | |
parent | 740d304da5f66d14ae2e70c7b76b066734f14752 (diff) | |
download | pkgsrc-e31ba171a2561181a57e000f141583cc795471ab.tar.gz |
Add 'show-installed-depends' - neat implementation thanks to Hubert.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 1a2bd9f1ed3..45b8e28396f 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.815 2001/09/25 20:26:37 mycroft Exp $ +# $NetBSD: bsd.pkg.mk,v 1.816 2001/09/30 22:10:34 abs Exp $ # # This file is in the public domain. # @@ -1282,6 +1282,13 @@ show-downlevel: . endif .endif +.if !target(show-installed-depends) +show-installed-depends: + @for i in ${DEPENDS:C/:.*$//:Q:S/\ / /g} ; do \ + echo "$$i =>" `pkg_info -e $$i` ; \ + done +.endif + .if defined(EVAL_PREFIX) . for def in ${EVAL_PREFIX} . if !defined(${def:C/=.*//}_DEFAULT) @@ -1491,6 +1498,7 @@ do-configure: INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} + . endif . if defined(USE_IMAKE) ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC} && ${SETENV} ${SCRIPTS_ENV} XPROJECTROOT=${X11BASE} ${XMKMF} |