diff options
author | tnn <tnn> | 2009-09-05 21:53:51 +0000 |
---|---|---|
committer | tnn <tnn> | 2009-09-05 21:53:51 +0000 |
commit | 953e4257105e90e80b848d194b707fdb9e956dbf (patch) | |
tree | 978470501a40a30fd084517a63eb24d4844dcd40 /devel/py-setuptools | |
parent | 425a41779b38b6cef6b23f30e9d0c8fdd3ac0d4f (diff) | |
download | pkgsrc-953e4257105e90e80b848d194b707fdb9e956dbf.tar.gz |
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.
Diffstat (limited to 'devel/py-setuptools')
-rw-r--r-- | devel/py-setuptools/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
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} |