summaryrefslogtreecommitdiff
path: root/archivers/unzip/Makefile
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-10-23 20:52:08 +0000
committerrillig <rillig@pkgsrc.org>2005-10-23 20:52:08 +0000
commitedba5dcec412e071d3863671af50d551a5e03e93 (patch)
treed8cdf3cc0885a3d655b7373e4dbcdaf8f5404eac /archivers/unzip/Makefile
parentf89c6552f0ca49784621a3130a52c22380350b1e (diff)
downloadpkgsrc-edba5dcec412e071d3863671af50d551a5e03e93.tar.gz
Use "+=" for MAKE_FLAGS instead of "=". Properly quote CF and LF2.
Diffstat (limited to 'archivers/unzip/Makefile')
-rw-r--r--archivers/unzip/Makefile9
1 files changed, 5 insertions, 4 deletions
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