diff options
author | agc <agc@pkgsrc.org> | 1999-11-19 12:12:28 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-11-19 12:12:28 +0000 |
commit | 3dd66e41be05bcc6dea61800de071a54f0b032b4 (patch) | |
tree | fec05cee1b9c39e6f84585aca12511846cbf68b4 /graphics/tkpiechart | |
parent | f47dd7014c8396ebd0142c1034b87185218b8152 (diff) | |
download | pkgsrc-3dd66e41be05bcc6dea61800de071a54f0b032b4.tar.gz |
Unfortunately, the two files being patched contain RCS Ids in the
surrounding context. Introduce a pre-patch stage which removes the
magic '$' characters from the RCS Id, which means that the patch-*
files in the package need no longer contain the magic RCS Ids, and so
the pacthes can be applied without any fuzz factor.
Diffstat (limited to 'graphics/tkpiechart')
-rw-r--r-- | graphics/tkpiechart/Makefile | 8 | ||||
-rw-r--r-- | graphics/tkpiechart/files/patch-sum | 6 | ||||
-rw-r--r-- | graphics/tkpiechart/patches/patch-aa | 8 | ||||
-rw-r--r-- | graphics/tkpiechart/patches/patch-ab | 8 |
4 files changed, 18 insertions, 12 deletions
diff --git a/graphics/tkpiechart/Makefile b/graphics/tkpiechart/Makefile index 42688d1741f..4abdbd147a4 100644 --- a/graphics/tkpiechart/Makefile +++ b/graphics/tkpiechart/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 1999/06/07 22:45:48 tron Exp $ +# $NetBSD: Makefile,v 1.2 1999/11/19 12:12:28 agc Exp $ DISTNAME= tkpiechart-5.3 CATEGORIES= graphics @@ -13,6 +13,12 @@ DEPENDS+= stooop-3.7:../../devel/stooop NO_CONFIGURE= yes NO_BUILD= yes +pre-patch: + for f in source.tcl instapkg.tcl; do \ + ${MV} ${WRKSRC}/$$f ${WRKSRC}/$$f-prepatch; \ + ${SED} -e '/Id/s|\$$||g' ${WRKSRC}/$$f-prepatch > ${WRKSRC}/$$f; \ + done + do-install: ${MKDIR} ${PREFIX}/lib/tkpiechart cd ${WRKSRC}; ./instapkg.tcl ${PREFIX}/lib/tkpiechart diff --git a/graphics/tkpiechart/files/patch-sum b/graphics/tkpiechart/files/patch-sum index 4709383b093..49c49e400eb 100644 --- a/graphics/tkpiechart/files/patch-sum +++ b/graphics/tkpiechart/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.1 1999/07/09 13:51:12 agc Exp $ +$NetBSD: patch-sum,v 1.2 1999/11/19 12:12:29 agc Exp $ -MD5 (patch-aa) = 54fc8f5db226505d8e1010f00576c5bd -MD5 (patch-ab) = 4fe57d39c4163bc22d158f997b7019c2 +MD5 (patch-aa) = 8cdcb5a079841a8d023f736980ca273f +MD5 (patch-ab) = c75880978eabe7cd886ce105c4985980 diff --git a/graphics/tkpiechart/patches/patch-aa b/graphics/tkpiechart/patches/patch-aa index f69af23517c..66be405d777 100644 --- a/graphics/tkpiechart/patches/patch-aa +++ b/graphics/tkpiechart/patches/patch-aa @@ -1,12 +1,12 @@ -$NetBSD: patch-aa,v 1.1.1.1 1999/06/07 22:45:49 tron Exp $ +$NetBSD: patch-aa,v 1.2 1999/11/19 12:12:30 agc Exp $ ---- instapkg.tcl.orig Tue Jun 8 00:38:40 1999 -+++ instapkg.tcl Tue Jun 8 00:38:59 1999 +--- instapkg.tcl Fri Nov 19 12:05:43 1999 ++++ instapkg.tcl Fri Nov 19 12:05:51 1999 @@ -1,6 +1,6 @@ #!/bin/sh # the next line restarts using the interpreter \ -exec tclsh "$0" "$@" +exec tclsh8.0 "$0" "$@" - # $Id: patch-aa,v 1.1.1.1 1999/06/07 22:45:49 tron Exp $ + # Id: instapkg.tcl,v 1.7 1998/11/14 20:15:29 jfontain Exp diff --git a/graphics/tkpiechart/patches/patch-ab b/graphics/tkpiechart/patches/patch-ab index 4fbfbb42a3e..0c31d77db9d 100644 --- a/graphics/tkpiechart/patches/patch-ab +++ b/graphics/tkpiechart/patches/patch-ab @@ -1,12 +1,12 @@ -$NetBSD: patch-ab,v 1.1.1.1 1999/06/07 22:45:49 tron Exp $ +$NetBSD: patch-ab,v 1.2 1999/11/19 12:12:30 agc Exp $ ---- source.tcl.orig Tue Jun 8 00:38:54 1999 -+++ source.tcl Tue Jun 8 00:38:11 1999 +--- source.tcl.orig Fri Nov 19 11:57:09 1999 ++++ source.tcl Fri Nov 19 11:57:10 1999 @@ -1,6 +1,6 @@ #!/bin/sh # the next line restarts using the interpreter \ -exec tclsh "$0" "$@" +exec tclsh8.0 "$0" "$@" - set rcsId {$Id: patch-ab,v 1.1.1.1 1999/06/07 22:45:49 tron Exp $} + set rcsId {Id: source.tcl,v 1.9 1997/06/14 23:21:49 jfontain Exp } |