diff options
author | tnn <tnn@pkgsrc.org> | 2009-10-29 20:45:23 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2009-10-29 20:45:23 +0000 |
commit | 37710bc99bec9e37cc496217ab9fc25681ba5ccb (patch) | |
tree | a876699b5132ff5ab8ba37f5541197c71f7f7c6f /archivers | |
parent | 9179e382df18992f24349ae6f448e6c78e3a9d8f (diff) | |
download | pkgsrc-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/Makefile | 7 |
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 |