summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-08-29 16:18:54 +0000
committerrecht <recht@pkgsrc.org>2004-08-29 16:18:54 +0000
commit841b8946f7195513d78b44a9f910b0214a09e698 (patch)
treed3b8dac9a7844727581caf0b06befc0b135d3793 /comms
parent9ae9cb40d965df0023bb7fea531807de5e6dc428 (diff)
downloadpkgsrc-841b8946f7195513d78b44a9f910b0214a09e698.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.
Diffstat (limited to 'comms')
-rw-r--r--comms/estic/Makefile7
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} && \