summaryrefslogtreecommitdiff
path: root/devel/rx/patches
diff options
context:
space:
mode:
authorjlam <jlam>2000-01-17 03:44:27 +0000
committerjlam <jlam>2000-01-17 03:44:27 +0000
commit0300afb9e65ed6bd50ff41ef504fd4044bd9068c (patch)
treee8044dc2cb95982f355a567baaf047a583844e63 /devel/rx/patches
parentbc3b44314afa1fa8c676fac9592db3e4a334b6e5 (diff)
downloadpkgsrc-0300afb9e65ed6bd50ff41ef504fd4044bd9068c.tar.gz
rx 1.5 - Fast replacement for the GNU regexp library
Diffstat (limited to 'devel/rx/patches')
-rw-r--r--devel/rx/patches/patch-aa16
-rw-r--r--devel/rx/patches/patch-ab49
2 files changed, 65 insertions, 0 deletions
diff --git a/devel/rx/patches/patch-aa b/devel/rx/patches/patch-aa
new file mode 100644
index 00000000000..30dd695517f
--- /dev/null
+++ b/devel/rx/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/01/17 03:44:27 jlam Exp $
+
+--- doc/rx.info.orig Wed Jan 15 15:31:40 1997
++++ doc/rx.info Sun Jan 16 22:12:18 2000
+@@ -1,6 +1,11 @@
+ This is Info file rx.info, produced by Makeinfo-1.63 from the input
+ file rx.texi.
+
++INFO-DIR-SECTION Libraries
++START-INFO-DIR-ENTRY
++* rx: (rx) GNU POSIX regular expressions API
++END-INFO-DIR-ENTRY
++
+ 
+ File: rx.info, Node: Top, Next: Copying, Prev: (dir), Up: (dir)
+
diff --git a/devel/rx/patches/patch-ab b/devel/rx/patches/patch-ab
new file mode 100644
index 00000000000..9f2525e1729
--- /dev/null
+++ b/devel/rx/patches/patch-ab
@@ -0,0 +1,49 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/01/17 03:44:28 jlam Exp $
+
+--- rx/Makefile.in.orig Fri Nov 22 07:47:49 1996
++++ rx/Makefile.in Sun Jan 16 22:11:05 2000
+@@ -59,24 +59,23 @@
+ $(CC) $(ALL_CFLAGS) -DSCM_MAGIC_SNARFER -E $< | grep "^%%%" | sed -e "s/^%%%//" > $@ ; \
+
+ .c.o:
+- $(CC) -c $(ALL_CFLAGS) $(DEFS) -I$(srcdir) $<
++ $(LIBTOOL) $(CC) -c $(ALL_CFLAGS) $(DEFS) -I$(srcdir) $<
+
+-all: librx.a
++all: librx.la
+
+ install: all
+ test -d $(libdir) || mkdir $(libdir)
+ test -d $(includedir) || mkdir $(includedir)
+- $(INSTALL) librx.a $(libdir)/librx.a
+- $(RANLIB) $(libdir)/librx.a
++ $(LIBTOOL) $(INSTALL) librx.la $(libdir)
+ $(INSTALL) $(srcdir)/inst-rxposix.h $(includedir)/rxposix.h
+
+
+ uninstall:
+- -rm -f $(libdir)/librx.a
++ -$(LIBTOOL) rm -f $(libdir)/librx.la
+ -rm -f $(includedir)/rxposix.h
+
+ clean:
+- -rm -f $(libobjs) librx.a $(opt_objs)
++ -$(LIBTOOL) rm -f $(libobjs) librx.a $(opt_objs)
+
+ distclean: clean
+ -rm Makefile config.status config.log rgx.x
+@@ -111,10 +110,10 @@
+ rm -rf `cat .fname` .fname
+
+
+-librx.a: $(libobjs) $(opt_objs)
+- rm -f librx.a
+- $(AR) $(AR_FLAGS) librx.a $(libobjs) $(opt_objs)
+- $(RANLIB) librx.a
++librx.la: $(libobjs) $(opt_objs)
++ $(LIBTOOL) rm -f librx.la
++ $(LIBTOOL) $(CC) -o $@ $(libobjs:.o=.lo) $(opt_objs:.o=.lo) \
++ -rpath $(libdir) -version-info $(RX_MAJOR):$(RX_MINOR)
+
+
+ depends: