aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql73-server
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-02-04 10:06:37 +0800
committersteve <steve@FreeBSD.org>1999-02-04 10:06:37 +0800
commit101376fe1a1a0acad6ac4e3226e96cb519d05fe8 (patch)
treec9e25de4b4e26183080a024420427bb9ed9251d6 /databases/postgresql73-server
parent0d55d14a86a5e60200653f790d864c10239734d5 (diff)
downloadfreebsd-ports-gnome-101376fe1a1a0acad6ac4e3226e96cb519d05fe8.tar.gz
freebsd-ports-gnome-101376fe1a1a0acad6ac4e3226e96cb519d05fe8.tar.zst
freebsd-ports-gnome-101376fe1a1a0acad6ac4e3226e96cb519d05fe8.zip
Fix build for ELF and update PLIST to match the current state of affairs.
PR: 9685
Diffstat (limited to 'databases/postgresql73-server')
-rw-r--r--databases/postgresql73-server/files/patch-ar16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/postgresql73-server/files/patch-ar b/databases/postgresql73-server/files/patch-ar
new file mode 100644
index 000000000000..a1fd3d50d464
--- /dev/null
+++ b/databases/postgresql73-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)