aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-devel-server/files/patch-src-makefiles-Makefile.freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql-devel-server/files/patch-src-makefiles-Makefile.freebsd')
-rw-r--r--databases/postgresql-devel-server/files/patch-src-makefiles-Makefile.freebsd17
1 files changed, 17 insertions, 0 deletions
diff --git a/databases/postgresql-devel-server/files/patch-src-makefiles-Makefile.freebsd b/databases/postgresql-devel-server/files/patch-src-makefiles-Makefile.freebsd
new file mode 100644
index 000000000000..9b4571d5dc30
--- /dev/null
+++ b/databases/postgresql-devel-server/files/patch-src-makefiles-Makefile.freebsd
@@ -0,0 +1,17 @@
+--- src/makefiles/Makefile.freebsd.orig Wed Aug 29 21:14:40 2001
++++ src/makefiles/Makefile.freebsd Sat Jan 31 17:51:25 2004
+@@ -7,7 +7,7 @@
+ endif
+
+ DLSUFFIX = .so
+-CFLAGS_SL = -fpic -DPIC
++CFLAGS_SL = -fPIC -DPIC
+
+ %.so: %.o
+ ifdef ELF_SYSTEM
+@@ -23,3 +23,5 @@
+ endif
+
+ sqlmansect = 7
++
++allow_nonpic_in_shlib = yes