summaryrefslogtreecommitdiff
path: root/databases/postgresql74-server
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-02-04 02:06:37 +0000
committerSteve Price <steve@FreeBSD.org>1999-02-04 02:06:37 +0000
commitbb494e9cb2a1ddee8f81c805383c6fa9aa0399f7 (patch)
tree38fa63aa823248aba30664916ce5cafed0f7dca2 /databases/postgresql74-server
parentUnbreak for >= 3.0. (diff)
Fix build for ELF and update PLIST to match the current state of affairs.
PR: 9685
Notes
Notes: svn path=/head/; revision=16531
Diffstat (limited to 'databases/postgresql74-server')
-rw-r--r--databases/postgresql74-server/files/patch-ar16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/postgresql74-server/files/patch-ar b/databases/postgresql74-server/files/patch-ar
new file mode 100644
index 000000000000..a1fd3d50d464
--- /dev/null
+++ b/databases/postgresql74-server/files/patch-ar
@@ -0,0 +1,16 @@
+--- Makefile.shlib.orig Wed Feb 3 19:16:02 1999
++++ Makefile.shlib Wed Feb 3 19:18:28 1999
+@@ -59,10 +59,11 @@
+ ifeq ($(PORTNAME), freebsd)
+ ifdef BSD_SHLIB
+ install-shlib-dep := install-shlib
+- shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+ ifdef ELF_SYSTEM
+- LDFLAGS_SL := -x -Bshareable
++ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
++ LDFLAGS_SL := -x -shared -soname $(shlib)
+ else
++ shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
+ LDFLAGS_SL := -x -Bshareable -Bforcearchive
+ endif
+ CFLAGS += $(CFLAGS_SL)