summaryrefslogtreecommitdiff
path: root/devel/py-setuptools
diff options
context:
space:
mode:
authortnn <tnn>2009-09-05 21:53:51 +0000
committertnn <tnn>2009-09-05 21:53:51 +0000
commit953e4257105e90e80b848d194b707fdb9e956dbf (patch)
tree978470501a40a30fd084517a63eb24d4844dcd40 /devel/py-setuptools
parent425a41779b38b6cef6b23f30e9d0c8fdd3ac0d4f (diff)
downloadpkgsrc-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/Makefile5
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}