From a6c688d9cd56ed4f8e777288b9a16de88663d0ea Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 8 Jul 1999 00:15:03 +0000
Subject: [PATCH] Irix update from  Mark Dalphin

---
 doc/TODO           | 2 +-
 src/Makefile.shlib | 9 ++++++++-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/doc/TODO b/doc/TODO
index 1922c53293e..46cced08a80 100644
--- a/doc/TODO
+++ b/doc/TODO
@@ -221,7 +221,7 @@ MISC
 * fix memory leak in cache code when non-existant table is referenced
 * In WHERE x=3 AND x=y, add y=3
 * pass atttypmod through parser in more cases(Bruce)
-
+* remov
 SOURCE CODE
 -----------
 * Add use of 'const' for varibles in source tree
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
index 75589512e79..34663d615b8 100644
--- a/src/Makefile.shlib
+++ b/src/Makefile.shlib
@@ -6,7 +6,7 @@
 # Copyright (c) 1998, Regents of the University of California
 #
 # IDENTIFICATION
-#    $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.11 1999/06/30 23:54:18 tgl Exp $
+#    $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.12 1999/07/08 00:15:03 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -56,6 +56,13 @@ install-shlib-dep :=
 # Makefile.global (or really Makefile.port) to supply DLSUFFIX and other
 # symbols.
 
+ifeq ($(PORTNAME), irix5)
+  install-shlib-dep := install-shlib
+  shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO__MINOR_VERSION)
+  LDFLAGS_SL := -shared
+  CFLAGS += $(CFLAGS_SL)
+endif
+
 ifeq ($(PORTNAME), freebsd)
   ifdef BSD_SHLIB
     install-shlib-dep	:= install-shlib
-- 
GitLab