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
commit89798320f2b620ff80be9fec4de8c0316d6a5922 (patch)
treed3b8dac9a7844727581caf0b06befc0b135d3793 /comms
parent4d855508d1b6c6a6d273fdc334aa5ff3d75e717b (diff)
downloadpkgsrc-89798320f2b620ff80be9fec4de8c0316d6a5922.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} && \