summaryrefslogtreecommitdiff
path: root/lang/nawk
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-12-11 22:56:23 +0000
committerjmmv <jmmv@pkgsrc.org>2002-12-11 22:56:23 +0000
commitb69e72ec8bb9b6423d6b319e6f3d5963a9eee76a (patch)
tree08a99d1944894c9f24dbe2ed95f763c3058a7065 /lang/nawk
parent0267e3d822670ac057364e4e75a65ba35485e578 (diff)
downloadpkgsrc-b69e72ec8bb9b6423d6b319e6f3d5963a9eee76a.tar.gz
Also quote CC and YACC when adding them to MAKEFLAGS (not done in last
commit). This can fix problems if it happens that those variables contain spaces (or some other special character). Suggested by Christopher Richards in private mail.
Diffstat (limited to 'lang/nawk')
-rw-r--r--lang/nawk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/nawk/Makefile b/lang/nawk/Makefile
index 144fc1d2b94..1b6a8eb9e3c 100644
--- a/lang/nawk/Makefile
+++ b/lang/nawk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/12/11 10:21:17 jmmv Exp $
+# $NetBSD: Makefile,v 1.9 2002/12/11 22:56:23 jmmv Exp $
#
DISTNAME= awk
@@ -14,7 +14,7 @@ DIST_SUBDIR= ${PKGNAME}
WRKSRC= ${WRKDIR}
MAKEFILE= makefile
-MAKEFLAGS+= CC=${CC} YACC=${YACC} CFLAGS=${CFLAGS:Q}
+MAKEFLAGS+= CC=${CC:Q} YACC=${YACC:Q} CFLAGS=${CFLAGS:Q}
ALL_TARGET= a.out
post-build: