pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/convertlit Replace highly fought over patch w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e388f723988
branches:  trunk
changeset: 399871:2e388f723988
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Oct 06 21:37:10 2009 +0000

description:
Replace highly fought over patch with sed statement.

diffstat:

 textproc/convertlit/Makefile         |   9 ++++++++-
 textproc/convertlit/distinfo         |   3 +--
 textproc/convertlit/patches/patch-aa |  16 ----------------
 3 files changed, 9 insertions(+), 19 deletions(-)

diffs (54 lines):

diff -r 996f63ea9d44 -r 2e388f723988 textproc/convertlit/Makefile
--- a/textproc/convertlit/Makefile      Tue Oct 06 21:31:13 2009 +0000
+++ b/textproc/convertlit/Makefile      Tue Oct 06 21:37:10 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2009/09/03 13:39:39 hasso Exp $
+# $NetBSD: Makefile,v 1.9 2009/10/06 21:37:10 wiz Exp $
 #
 # In order to ensure compliance with U.S. and international law, please
 # do not modify this file to provide pointers to the source or homepage
@@ -29,6 +29,13 @@
 SUBST_FILES.d2u+=              *.h *.c */*.h */*.c */*/*.h */*/*.c
 SUBST_FILTER_CMD.d2u=  ${TR} -d '\r'
 
+SUBST_CLASSES+=                flags
+SUBST_STAGE.flags=     pre-configure
+SUBST_MESSAGE.flags=   Fixing CFLAGS and compiler invocation.
+SUBST_FILES.flags+=            clit18/Makefile
+SUBST_SED.flags+=      -e 's,^CFLAGS=.*,CFLAGS+=-funsigned-char -Wall -I ../lib -I ../lib/des -I .,'
+SUBST_SED.flags+=      -e 's,gcc -o clit ..  ../libtommath-0.30/libtommath.a,gcc $$(LDFLAGS) -o clit $$^ -ltommath,'
+
 RESTRICTED=            Possible legal problems
 NO_SRC_ON_FTP=         ${RESTRICTED}
 NO_BIN_ON_FTP=         ${RESTRICTED}
diff -r 996f63ea9d44 -r 2e388f723988 textproc/convertlit/distinfo
--- a/textproc/convertlit/distinfo      Tue Oct 06 21:31:13 2009 +0000
+++ b/textproc/convertlit/distinfo      Tue Oct 06 21:37:10 2009 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.5 2009/10/06 17:16:47 joerg Exp $
+$NetBSD: distinfo,v 1.6 2009/10/06 21:37:11 wiz Exp $
 
 SHA1 (clit18src.zip) = 0fa9aead468bd8640c49374d46d78d2a3e79489f
 RMD160 (clit18src.zip) = 6104a7d951ed60ea73705e401be8b55633ea2d47
 Size (clit18src.zip) = 135120 bytes
-SHA1 (patch-aa) = ab1545705a84263b8a45a7e72f3d004788bf12c7
diff -r 996f63ea9d44 -r 2e388f723988 textproc/convertlit/patches/patch-aa
--- a/textproc/convertlit/patches/patch-aa      Tue Oct 06 21:31:13 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,16 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2009/10/06 17:16:47 joerg Exp $
-
---- clit18/Makefile.orig       2004-07-04 16:52:14.000000000 +0200
-+++ clit18/Makefile
-@@ -1,9 +1,9 @@
- all: clit
- 
--CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib -I ../lib/des -I .
-+CFLAGS+=-funsigned-char -Wall -I ../lib -I ../lib/des -I .
- clean:
-       rm -f *.o clit
- 
- clit: clit.o hexdump.o drm5.o explode.o transmute.o display.o utils.o manifest.o ../lib/openclit.a 
--      gcc -o clit $^  ../libtommath-0.30/libtommath.a
-+      gcc $(LDFLAGS) -o clit $^ -ltommath
- 



Home | Main Index | Thread Index | Old Index