summaryrefslogtreecommitdiff
path: root/databases/postgresql81/patches/patch-al
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql81/patches/patch-al')
-rw-r--r--databases/postgresql81/patches/patch-al30
1 files changed, 30 insertions, 0 deletions
diff --git a/databases/postgresql81/patches/patch-al b/databases/postgresql81/patches/patch-al
new file mode 100644
index 00000000000..a343b188f0a
--- /dev/null
+++ b/databases/postgresql81/patches/patch-al
@@ -0,0 +1,30 @@
+$NetBSD: patch-al,v 1.1 2006/12/01 20:10:18 joerg Exp $
+
+--- contrib/tsearch2/wordparser/Makefile.orig 2005-10-18 01:30:49.000000000 +0000
++++ contrib/tsearch2/wordparser/Makefile
+@@ -1,6 +1,6 @@
+ # $PostgreSQL: pgsql/contrib/tsearch2/wordparser/Makefile,v 1.8 2005/10/18 01:30:49 tgl Exp $
+
+-SUBOBJS = parser.o deflex.o
++SUBOBJS = parser.lo deflex.lo
+
+ EXTRA_CLEAN = SUBSYS.o $(SUBOBJS) parser.c
+
+@@ -14,6 +14,7 @@ subdir = contrib/tsearch2/wordparser
+ top_builddir = ../../..
+ include $(top_builddir)/src/Makefile.global
+ include $(top_srcdir)/contrib/contrib-global.mk
++include $(top_srcdir)/src/Makefile.shlib
+ endif
+
+ override CFLAGS += $(CFLAGS_SL)
+@@ -27,7 +28,7 @@ else
+ @$(missing) flex $< $@
+ endif
+
+-SUBSYS.o: $(SUBOBJS)
+- $(LD) $(LDREL) $(LDOUT) $@ $^
++libSUBSYS.la: $(SUBOBJS)
++ libtool --mode=link ${CC} -o libSUBSYS.la ${SUBOBJS}
+
+