summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authortnn <tnn>2009-10-29 20:45:23 +0000
committertnn <tnn>2009-10-29 20:45:23 +0000
commitdc9ccf4700c8c1498236d2827944893a1db92f53 (patch)
treea876699b5132ff5ab8ba37f5541197c71f7f7c6f /archivers
parent76a9e8edddf1119f37c9740440699b064b703aa3 (diff)
downloadpkgsrc-dc9ccf4700c8c1498236d2827944893a1db92f53.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