summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
Diffstat (limited to 'archivers')
-rw-r--r--archivers/zip1/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/archivers/zip1/Makefile b/archivers/zip1/Makefile
index 07993d11701..f3d38f5f8b8 100644
--- a/archivers/zip1/Makefile
+++ b/archivers/zip1/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2009/09/14 22:08:21 zafer Exp $
+# $NetBSD: Makefile,v 1.47 2009/10/29 20:45:23 tnn Exp $
#
DISTNAME= zip1-1.1
@@ -34,6 +34,11 @@ CFLAGS+= -DSYSV -DMODERN -DTERMIOS
CFLAGS+= -DDIRENT
MAKE_FLAGS+= LFLAGS2=-lcompat
.endif
+.if ${OPSYS} == "NetBSD"
+# NetBSD's unzip doesn't understand "imploded" compression, so force pkgsrc.
+BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip
+TOOLS_PLATFORM.unzip= ${PREFIX}/bin/unzip
+.endif
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1