summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig>2005-10-23 20:55:14 +0000
committerrillig <rillig>2005-10-23 20:55:14 +0000
commit0ecebde6ce69d4e6b9e628093de90606af3c4eaf (patch)
tree84f7361b8ee220aec2753b1ab530efda6d009e56
parent86f3588865b543c8b3e91500dd5518023b486d3b (diff)
downloadpkgsrc-0ecebde6ce69d4e6b9e628093de90606af3c4eaf.tar.gz
Use "+=" for MAKE_FLAGS instead of "=". Properly quote LOCAL_ZIP and
LFLAGS1.
-rw-r--r--archivers/zip/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/zip/Makefile b/archivers/zip/Makefile
index 585b1162da7..6bee5cbfd6a 100644
--- a/archivers/zip/Makefile
+++ b/archivers/zip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2005/10/23 18:07:10 rillig Exp $
+# $NetBSD: Makefile,v 1.47 2005/10/23 20:55:14 rillig Exp $
DISTNAME= zip231
PKGNAME= zip-2.31
@@ -16,11 +16,12 @@ COMMENT= Create/update ZIP files compatible with pkzip
PKG_INSTALLATION_TYPES= overwrite pkgviews
MAKEFILE= unix/Makefile
-MAKE_FLAGS= LOCAL_ZIP="${CFLAGS}" LFLAGS1="${_STRIPFLAG_CC}"
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
.include "../../mk/bsd.prefs.mk"
+MAKE_FLAGS+= LOCAL_ZIP=${CFLAGS:Q}
+MAKE_FLAGS+= LFLAGS1=${_STRIPFLAG_CC:Q}
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -O0
.endif