summaryrefslogtreecommitdiff
path: root/databases/postgresql/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql/patches/patch-am')
-rw-r--r--databases/postgresql/patches/patch-am16
1 files changed, 7 insertions, 9 deletions
diff --git a/databases/postgresql/patches/patch-am b/databases/postgresql/patches/patch-am
index 3e6f382297a..1d523df523b 100644
--- a/databases/postgresql/patches/patch-am
+++ b/databases/postgresql/patches/patch-am
@@ -1,7 +1,7 @@
-$NetBSD: patch-am,v 1.1 1999/09/19 04:24:55 jlam Exp $
+$NetBSD: patch-am,v 1.2 1999/09/20 23:38:50 jlam Exp $
--- ./pl/plpgsql/src/Makefile.in.orig Wed Jun 30 19:57:31 1999
-+++ ./pl/plpgsql/src/Makefile.in Sat Sep 18 03:10:58 1999
++++ ./pl/plpgsql/src/Makefile.in Mon Sep 20 01:27:23 1999
@@ -27,7 +27,7 @@
OBJS= pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
@@ -11,16 +11,14 @@ $NetBSD: patch-am,v 1.1 1999/09/19 04:24:55 jlam Exp $
# If crypt is a separate library, rather than part of libc, it may need
# to be referenced separately to keep (broken) linkers happy. (This is
-@@ -44,12 +44,20 @@
+@@ -44,12 +44,18 @@
# installed, however, so we ignore the install-shlib rule and do this
# instead:
+ifneq ($(LIBTOOL),)
-+install: install-lib post-install-lib
-+
-+post-install-lib:
++install: install-lib
+ rm -f $(LIBDIR)/lib$(NAME).a
-+ $(LN_S) -f $(LIBDIR)/lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) $(LIBDIR)/plpgsql$(DLSUFFIX)
++ $(LN_S) -f lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION) $(LIBDIR)/plpgsql$(DLSUFFIX)
+else
install: $(shlib)
ifneq ($(shlib),)
@@ -32,7 +30,7 @@ $NetBSD: patch-am,v 1.1 1999/09/19 04:24:55 jlam Exp $
pl_handler.o: pl_handler.c plpgsql.h pl.tab.h
-@@ -60,8 +68,10 @@
+@@ -60,8 +66,10 @@
pl_funcs.o: pl_funcs.c plpgsql.h pl.tab.h
@@ -45,7 +43,7 @@ $NetBSD: patch-am,v 1.1 1999/09/19 04:24:55 jlam Exp $
pl_gram.c pl.tab.h: gram.y
$(YACC) $(YFLAGS) $<
-@@ -79,7 +89,7 @@
+@@ -79,7 +87,7 @@
clean: clean-shlib
rm -f lib$(NAME).a