pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/zip Use "+=" for MAKE_FLAGS instead of "=". ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ec4d7ad1b26
branches:  trunk
changeset: 501547:4ec4d7ad1b26
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Oct 23 20:55:14 2005 +0000

description:
Use "+=" for MAKE_FLAGS instead of "=". Properly quote LOCAL_ZIP and
LFLAGS1.

diffstat:

 archivers/zip/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r f7e3737b6c5a -r 4ec4d7ad1b26 archivers/zip/Makefile
--- a/archivers/zip/Makefile    Sun Oct 23 20:52:08 2005 +0000
+++ b/archivers/zip/Makefile    Sun Oct 23 20:55:14 2005 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index