From f56dfe88335973756fb3835c31a53a5c0145db11 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 16 Dec 1999 14:34:10 +0000 Subject: Use 3 lines of context, but protect the RCS Id in a different way, in patch-aa, and use a pre-patch step in the package Makefile to substitute for RCS keywords. Regenerate patch file checksum. --- print/lgrind/Makefile | 6 +++++- print/lgrind/files/patch-sum | 4 ++-- print/lgrind/patches/patch-aa | 6 ++++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/print/lgrind/Makefile b/print/lgrind/Makefile index 29a70ce19c5..42236d1d5e8 100644 --- a/print/lgrind/Makefile +++ b/print/lgrind/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 1999/11/19 17:15:12 jwise Exp $ +# $NetBSD: Makefile,v 1.8 1999/12/16 14:34:10 agc Exp $ DISTNAME= lgrind PKGNAME= lgrind-3.5 @@ -15,6 +15,10 @@ MIRROR_DISTFILE=no WRKSRC= ${WRKDIR}/lgrind/source NO_CONFIGURE= yes +pre-patch: + ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile-prepatch + ${SED} -e '/Id/s|\$$||g' ${WRKSRC}/Makefile-prepatch > ${WRKSRC}/Makefile + pre-build: (cd ${WRKSRC}/.. ; ${PREFIX}/bin/latex lgrind.ins) (cd ${WRKSRC}/.. ; ${PREFIX}/bin/latex lgrind.dtx) diff --git a/print/lgrind/files/patch-sum b/print/lgrind/files/patch-sum index 2be087f41ee..4f306f8700f 100644 --- a/print/lgrind/files/patch-sum +++ b/print/lgrind/files/patch-sum @@ -1,5 +1,5 @@ -$NetBSD: patch-sum,v 1.3 1999/12/07 20:51:31 rh Exp $ +$NetBSD: patch-sum,v 1.4 1999/12/16 14:34:10 agc Exp $ -MD5 (patch-aa) = 7dc25d26de02cf44b6f3cbfae774f30a +MD5 (patch-aa) = 5740cc59ff082b0add5f3d77e98c785c MD5 (patch-ab) = bcedbe32593a745bc14a51fc76276757 MD5 (patch-ac) = 1edab79e59972bd931bbd73e85181fb3 diff --git a/print/lgrind/patches/patch-aa b/print/lgrind/patches/patch-aa index 1b706e7d06a..a4163c99ca8 100644 --- a/print/lgrind/patches/patch-aa +++ b/print/lgrind/patches/patch-aa @@ -1,8 +1,9 @@ -$NetBSD: patch-aa,v 1.3 1999/12/07 20:51:32 rh Exp $ +$NetBSD: patch-aa,v 1.4 1999/12/16 14:34:10 agc Exp $ --- Makefile.orig Tue Aug 4 15:02:00 1998 +++ Makefile Tue Dec 7 21:48:48 1999 -@@ -4,11 +4,11 @@ +@@ -3,13 +3,13 @@ + # Id: Makefile,v 2.0 96/02/19 23:54:15 gvr Exp # You will almost certainly want to change these -BASEDIR=/usr/TeX @@ -17,3 +18,4 @@ $NetBSD: patch-aa,v 1.3 1999/12/07 20:51:32 rh Exp $ +MAN=${PREFIX}/man CC=gcc + INSTALL=install -- cgit v1.2.3