pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/zip1 Force extraction with pkgsrc's unzip on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a586a9d600c
branches:  trunk
changeset: 400896:4a586a9d600c
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Thu Oct 29 20:45:23 2009 +0000

description:
Force extraction with pkgsrc's unzip on NetBSD, due to:
unzip: Unsupported ZIP compression method (imploded)

diffstat:

 archivers/zip1/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 15e523b6d983 -r 4a586a9d600c archivers/zip1/Makefile
--- a/archivers/zip1/Makefile   Thu Oct 29 20:40:10 2009 +0000
+++ b/archivers/zip1/Makefile   Thu Oct 29 20:45:23 2009 +0000
@@ -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+=       -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
 



Home | Main Index | Thread Index | Old Index