From edba5dcec412e071d3863671af50d551a5e03e93 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 23 Oct 2005 20:52:08 +0000 Subject: Use "+=" for MAKE_FLAGS instead of "=". Properly quote CF and LF2. --- archivers/unzip/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'archivers/unzip/Makefile') diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile index a41a532b258..3db5de54b8a 100644 --- a/archivers/unzip/Makefile +++ b/archivers/unzip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.58 2005/10/15 20:24:53 heinz Exp $ +# $NetBSD: Makefile,v 1.59 2005/10/23 20:52:08 rillig Exp $ DISTNAME= unzip552 PKGNAME= unzip-5.52 @@ -21,10 +21,11 @@ USE_TOOLS+= gmake MAKEFILE= unix/Makefile BUILD_TARGET= generic_zlib unzipsfx .if ${OPSYS:M*BSD} != "" || ${OPSYS} == "Darwin" -MAKE_FLAGS= CF="${CPPFLAGS} ${CFLAGS} -I. -DBSD -DUNIX -Dunix -DUSE_UNSHRINK" LF2="${_STRIPFLAG_CC} ${LDFLAGS} -lz" -.else -MAKE_FLAGS= CF="${CPPFLAGS} ${CFLAGS} -I. -DUNIX -Dunix -DUSE_UNSHRINK" LF2="${_STRIPFLAG_CC} ${LDFLAGS} -lz" +CFLAGS+= -DBSD .endif +CFLAGS+= -I. -DUNIX -Dunix -DUSE_UNSHRINK +MAKE_FLAGS+= CF=${CPPFLAGS:Q}\ ${CFLAGS:Q} +MAKE_FLAGS+= LF2=${_STRIPFLAG_CC:Q}\ ${LDFLAGS:Q}\ -lz INSTALLATION_DIRS= bin man/man1 share/doc -- cgit v1.2.3