diff options
author | recht <recht> | 2004-08-29 16:18:54 +0000 |
---|---|---|
committer | recht <recht> | 2004-08-29 16:18:54 +0000 |
commit | 6dffeaf0f86c185bc27240567872def9fd1550e1 (patch) | |
tree | d3b8dac9a7844727581caf0b06befc0b135d3793 | |
parent | 3ec4a2c31419b93262e811b662ac25197435b85e (diff) | |
download | pkgsrc-6dffeaf0f86c185bc27240567872def9fd1550e1.tar.gz |
Fix how the external patch get's applied.
First use -p0 from PR 26790 by Georg Schwarz, second use unzip -p
instead of gzcat, since it's a zip archive.
-rw-r--r-- | comms/estic/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/comms/estic/Makefile b/comms/estic/Makefile index a62f56b2b1f..a755f11dd76 100644 --- a/comms/estic/Makefile +++ b/comms/estic/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2004/04/11 06:17:39 snj Exp $ +# $NetBSD: Makefile,v 1.12 2004/08/29 16:18:54 recht Exp $ DISTNAME= estic-1.61 CATEGORIES= comms @@ -27,8 +27,9 @@ LIBSRC= ${WRKDIR}/spunk MAKEFILE= make/freebsd-x.mak post-extract: - ${_PKG_SILENT}${_PKG_DEBUG}${GZCAT} ${DISTDIR}/${ESTICPATCH} | \ - ${PATCH} ${PATCH_DIST_ARGS} + ${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC} && \ + ${LOCALBASE}/bin/unzip -p ${DISTDIR}/${ESTICPATCH} | \ + ${PATCH} -p0 ${PATCH_DIST_ARGS} pre-build: ${_PKG_SILENT}${_PKG_DEBUG}cd ${LIBSRC} && \ |