From 841b8946f7195513d78b44a9f910b0214a09e698 Mon Sep 17 00:00:00 2001 From: recht Date: Sun, 29 Aug 2004 16:18:54 +0000 Subject: 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. --- comms/estic/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'comms') 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} && \ -- cgit v1.2.3