pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/unzip Use "+=" for MAKE_FLAGS instead of "="...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f7e3737b6c5a
branches: trunk
changeset: 501546:f7e3737b6c5a
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Oct 23 20:52:08 2005 +0000
description:
Use "+=" for MAKE_FLAGS instead of "=". Properly quote CF and LF2.
diffstat:
archivers/unzip/Makefile | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r 2883cdcd476c -r f7e3737b6c5a archivers/unzip/Makefile
--- a/archivers/unzip/Makefile Sun Oct 23 20:43:26 2005 +0000
+++ b/archivers/unzip/Makefile Sun Oct 23 20:52:08 2005 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index