summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2004-04-22 04:02:24 +0000
committertv <tv@pkgsrc.org>2004-04-22 04:02:24 +0000
commit507e99d00c4ac1cf1a1769f069421ad0e0470b80 (patch)
treea54eb91733ada2b63d351f280dfee71d32994baf
parent2e5cf5587f3c3d508f7268eea60b3a55d0b69b51 (diff)
downloadpkgsrc-507e99d00c4ac1cf1a1769f069421ad0e0470b80.tar.gz
Obey CPPFLAGS.
-rw-r--r--archivers/unzip/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile
index e8e31dd6009..714c58e4755 100644
--- a/archivers/unzip/Makefile
+++ b/archivers/unzip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2004/04/05 14:06:00 xtraeme Exp $
+# $NetBSD: Makefile,v 1.48 2004/04/22 04:02:24 tv Exp $
DISTNAME= unzip550
PKGNAME= unzip-5.50
@@ -28,9 +28,9 @@ USE_GNU_TOOLS+= make
MAKEFILE= unix/Makefile
ALL_TARGET= generic_zlib unzipsfx
.if ${OPSYS:M*BSD} != "" || ${OPSYS} == "Darwin"
-MAKE_FLAGS= CF="${CFLAGS} -I. -DBSD -DUNIX -Dunix -DUSE_UNSHRINK" LF2="${_STRIPFLAG_CC} ${LDFLAGS} -lz"
+MAKE_FLAGS= CF="${CPPFLAGS} ${CFLAGS} -I. -DBSD -DUNIX -Dunix -DUSE_UNSHRINK" LF2="${_STRIPFLAG_CC} ${LDFLAGS} -lz"
.else
-MAKE_FLAGS= CF="${CFLAGS} -I. -DUNIX -Dunix -DUSE_UNSHRINK" LF2="${_STRIPFLAG_CC} ${LDFLAGS} -lz"
+MAKE_FLAGS= CF="${CPPFLAGS} ${CFLAGS} -I. -DUNIX -Dunix -DUSE_UNSHRINK" LF2="${_STRIPFLAG_CC} ${LDFLAGS} -lz"
.endif
INSTALLATION_DIRS= bin man/man1 share/doc