summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-10-30 12:36:01 +0000
committergrant <grant@pkgsrc.org>2003-10-30 12:36:01 +0000
commit13eb361ce9a6eff36c06ab4211ebbf64c8a77887 (patch)
treef68d72b642c2b8cb41c1f9fbdc2d25f4235f963e /mk/bsd.pkg.mk
parent836435610d9a36c2dddb6a047a28d16e46ea45f7 (diff)
downloadpkgsrc-13eb361ce9a6eff36c06ab4211ebbf64c8a77887.tar.gz
implement the change in rev. 1.1296 (which was backed out in rev.
1.1298) properly by using single quotes instead of double quotes around the PKGNAME_REQD value, ensuring that the shell does not interpret the > character as a redirect. confirmed that no "=1.0.43" files are created on NetBSD and Linux when a pre-requisite package has a wildcarded version number eg. ">=1.0.43", and that the original problem is fixed.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 192f085eaaa..40d1298b77c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1299 2003/10/30 10:32:45 wiz Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1300 2003/10/30 12:36:01 grant Exp $
#
# This file is in the public domain.
#
@@ -4026,7 +4026,7 @@ install-depends: uptodate-pkgtools
${ECHO_MSG} "=> No directory for $$dir. Skipping.."; \
else \
cd $$dir ; \
- ${MAKE} ${MAKEFLAGS} $$target _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD="$$pkg"; \
+ ${MAKE} ${MAKEFLAGS} $$target _PKGSRC_DEPS=", ${PKGNAME}${_PKGSRC_DEPS}" PKGNAME_REQD=\'$$pkg\'; \
${ECHO_MSG} "${_PKGSRC_IN}> Returning to build of ${PKGNAME}"; \
fi; \
fi