summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2000-07-25 16:21:25 +0000
committerfredb <fredb@pkgsrc.org>2000-07-25 16:21:25 +0000
commit6a0010035f13b5923cf3152aa476e236643848b2 (patch)
tree29bfe8d9884d2f73d26e2e7893fd84e5735670c8 /mk
parent45ac002b1b08c45ff7b23eafe1893d81e28645ce (diff)
downloadpkgsrc-6a0010035f13b5923cf3152aa476e236643848b2.tar.gz
When constructing the +BUILD_INFO file, escape ${ECHO} using "make"'s :Q,
rather than enclosing in quotes. Quotes doesn't work very well if the BUILD_INFO item already has quotes, as is often the case for ${RESTRICTED}.
Diffstat (limited to '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 bc4591f12a8..38e19affd7e 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.518 2000/07/25 15:15:47 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.519 2000/07/25 16:21:25 fredb Exp $
#
# This file is in the public domain.
#
@@ -2936,7 +2936,7 @@ fake-pkg: ${PLIST} ${DESCR}
fi; \
${GREP} '\$$NetBSD' $$files | ${SED} -e 's|^${PKGSRCDIR}/||' > ${BUILD_VERSION_FILE};
.for def in ${BUILD_DEFS}
- @${ECHO} "${def}= ${${def}}" | ${SED} -e 's|PATH=[^ ]*|PATH=...|' >> ${BUILD_INFO_FILE}
+ @${ECHO} ${def}= ${${def}:Q} | ${SED} -e 's|PATH=[^ ]*|PATH=...|' >> ${BUILD_INFO_FILE}
.endfor
@${ECHO} "CC= ${CC}-`${CC} --version`" >> ${BUILD_INFO_FILE}
.ifdef USE_PERL5