summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-10-29 20:45:23 +0000
committertnn <tnn@pkgsrc.org>2009-10-29 20:45:23 +0000
commit37710bc99bec9e37cc496217ab9fc25681ba5ccb (patch)
treea876699b5132ff5ab8ba37f5541197c71f7f7c6f /archivers
parent9179e382df18992f24349ae6f448e6c78e3a9d8f (diff)
downloadpkgsrc-37710bc99bec9e37cc496217ab9fc25681ba5ccb.tar.gz
Force extraction with pkgsrc's unzip on NetBSD, due to:
unzip: Unsupported ZIP compression method (imploded)
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