diff options
Diffstat (limited to 'databases/postgresql82/patches/patch-ak')
-rw-r--r-- | databases/postgresql82/patches/patch-ak | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/databases/postgresql82/patches/patch-ak b/databases/postgresql82/patches/patch-ak new file mode 100644 index 00000000000..220f22025d5 --- /dev/null +++ b/databases/postgresql82/patches/patch-ak @@ -0,0 +1,30 @@ +$NetBSD: patch-ak,v 1.1.1.1 2006/12/09 15:34:13 adam Exp $ + +--- contrib/tsearch2/ispell/Makefile.orig 2006-10-25 12:46:42.000000000 +0000 ++++ contrib/tsearch2/ispell/Makefile +@@ -1,6 +1,6 @@ + # $PostgreSQL: pgsql/contrib/tsearch2/ispell/Makefile,v 1.9 2005/10/18 01:30:48 tgl Exp $ + +-SUBOBJS = spell.o regis.o ++SUBOBJS = spell.lo regis.lo + + EXTRA_CLEAN = SUBSYS.o $(SUBOBJS) + +@@ -14,13 +14,12 @@ subdir = contrib/tsearch2/ispell + 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) + +-all: SUBSYS.o +- +-SUBSYS.o: $(SUBOBJS) +- $(LD) $(LDREL) $(LDOUT) $@ $^ +- ++all: libSUBSYS.la + ++libSUBSYS.la: $(SUBOBJS) ++ libtool --mode=link ${CC} -o libSUBSYS.la ${SUBOBJS} |