From b69e72ec8bb9b6423d6b319e6f3d5963a9eee76a Mon Sep 17 00:00:00 2001 From: jmmv Date: Wed, 11 Dec 2002 22:56:23 +0000 Subject: 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. --- lang/nawk/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/nawk') 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: -- cgit v1.2.3