From e9e23ab17c6d8a095c3690c1d3d512bf254b6dcc Mon Sep 17 00:00:00 2001 From: tnn Date: Sat, 5 Sep 2009 21:53:51 +0000 Subject: NetBSD-current's unzip(1) doesn't appear to look for a zip header anywhere but byte offset 0. Remove junk header manually until it can be fixed. --- devel/py-setuptools/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'devel/py-setuptools/Makefile') diff --git a/devel/py-setuptools/Makefile b/devel/py-setuptools/Makefile index 8210883dc81..2fa0426683b 100644 --- a/devel/py-setuptools/Makefile +++ b/devel/py-setuptools/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2009/07/08 13:55:59 joerg Exp $ +# $NetBSD: Makefile,v 1.12 2009/09/05 21:53:51 tnn Exp $ # EGG_VERSION= 0.6c9 @@ -33,7 +33,8 @@ TARGET_NAME= ${PREFIX}/${PYSITELIB}/${EGG_NAME} do-extract: ${MKDIR} ${WRKSRC} - ${TOOLS_CMD.unzip} -d ${WRKSRC} ${DISTDIR}/${DISTNAME} + dd if=${DISTDIR}/${DISTNAME} of=${WRKDIR}/tmp.zip skip=376 bs=1 + ${TOOLS_CMD.unzip} -d ${WRKSRC} ${WRKDIR}/tmp.zip post-extract: chmod -R go-w ${WRKSRC} -- cgit v1.2.3