summaryrefslogtreecommitdiff
path: root/archivers/unzip
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-12-25 18:30:24 +0000
committergrant <grant@pkgsrc.org>2002-12-25 18:30:24 +0000
commit7bcdc57b43e865aae58454b6b07c3b31e8b6ffd2 (patch)
treeefb2efedc83be2ebc820922403a128e9cf3b8cf3 /archivers/unzip
parent9fe706fe684a763eec49fe103238a0d801bd9964 (diff)
downloadpkgsrc-7bcdc57b43e865aae58454b6b07c3b31e8b6ffd2.tar.gz
also pass '-DBSD' on Darwin.
Diffstat (limited to 'archivers/unzip')
-rw-r--r--archivers/unzip/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/archivers/unzip/Makefile b/archivers/unzip/Makefile
index 4bc27f00fa0..e8125c5b0ad 100644
--- a/archivers/unzip/Makefile
+++ b/archivers/unzip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2002/11/25 22:17:16 jschauma Exp $
+# $NetBSD: Makefile,v 1.35 2002/12/25 18:30:24 grant Exp $
# FreeBSD Id: Makefile,v 1.14 1997/06/19 05:30:04 ache Exp
#
@@ -21,10 +21,10 @@ USE_BUILDLINK2= # defined
MAKEFILE= unix/Makefile
ALL_TARGET= generic_zlib unzipsfx
-.if ${OPSYS:M*BSD} == ""
-MAKE_FLAGS= CF="${CFLAGS} -I. -DUNIX -Dunix -DUSE_UNSHRINK" LF2="-lz ${_STRIPFLAG_CC} ${LDFLAGS}"
-.else
+.if ${OPSYS:M*BSD} != "" || ${OPSYS} == "Darwin"
MAKE_FLAGS= CF="${CFLAGS} -I. -DBSD -DUNIX -Dunix -DUSE_UNSHRINK" LF2="-lz ${_STRIPFLAG_CC} ${LDFLAGS}"
+.else
+MAKE_FLAGS= CF="${CFLAGS} -I. -DUNIX -Dunix -DUSE_UNSHRINK" LF2="-lz ${_STRIPFLAG_CC} ${LDFLAGS}"
.endif
do-install: