pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-setuptools NetBSD-current's unzip(1) doesn't ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1414337fd27
branches:  trunk
changeset: 398652:f1414337fd27
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Sep 05 21:53:51 2009 +0000

description:
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:

 devel/py-setuptools/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 37a39bf3ac4d -r f1414337fd27 devel/py-setuptools/Makefile
--- a/devel/py-setuptools/Makefile      Sat Sep 05 21:43:45 2009 +0000
+++ b/devel/py-setuptools/Makefile      Sat Sep 05 21:53:51 2009 +0000
@@ -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 @@
 
 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}



Home | Main Index | Thread Index | Old Index