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/Makefile | |
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/Makefile')
-rw-r--r-- | graphics/tkpiechart/Makefile | 8 |
1 files changed, 7 insertions, 1 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 |