summaryrefslogtreecommitdiff
path: root/devel/py-setuptools/Makefile
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-09-05 21:53:51 +0000
committertnn <tnn@pkgsrc.org>2009-09-05 21:53:51 +0000
commite9e23ab17c6d8a095c3690c1d3d512bf254b6dcc (patch)
tree978470501a40a30fd084517a63eb24d4844dcd40 /devel/py-setuptools/Makefile
parent2510d15ccd1a7fd7478cc8b2deccd868a0aab271 (diff)
downloadpkgsrc-e9e23ab17c6d8a095c3690c1d3d512bf254b6dcc.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/Makefile')
-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}