pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/estic Fix how the external patch get's applied.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d44ba868975e
branches:  trunk
changeset: 480073:d44ba868975e
user:      recht <recht%pkgsrc.org@localhost>
date:      Sun Aug 29 16:18:54 2004 +0000

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

 comms/estic/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 2ce46363cbc7 -r d44ba868975e comms/estic/Makefile
--- a/comms/estic/Makefile      Sun Aug 29 16:07:29 2004 +0000
+++ b/comms/estic/Makefile      Sun Aug 29 16:18:54 2004 +0000
@@ -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 @@
 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} && \



Home | Main Index | Thread Index | Old Index