summaryrefslogtreecommitdiff
path: root/databases/postgresql73
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-18 15:59:55 +0000
committerjlam <jlam@pkgsrc.org>2004-12-18 15:59:55 +0000
commita1dc1c896f0b54678e654944dde9afd8cb5c0343 (patch)
tree87819d577737c0b6c7465e1721b652d16ee9f666 /databases/postgresql73
parentf7652ce277edcdee40c6519fe2b93b03dbdb3cf1 (diff)
downloadpkgsrc-a1dc1c896f0b54678e654944dde9afd8cb5c0343.tar.gz
Patch Makefile.shlib so that when creating shared libraries, we don't
only pass only the -L* LDFLAGS to the linker. This is correct for pkgsrc since the wrapper scripts take care of correctly passing the rpath info to the linker, so we don't need to filter those out. This allows plpgsql.so to find libintl.so if we are using the pkgsrc version of it. Bump the PKGREVISION of postgresql*-lib to 7.3.8nb1 and 7.4.6nb2. Link the postgres binary with the necessary flags to allow it to dlopen() modules that use pthreads[*]. This should allow postgres to open a plperl.so module built on a system with perl+threads. Bump the PKGREVISION of postgresql*-server to 7.3.8nb2 and 7.4.6nb2. [*] Note that this behavior can be tweaked globally by setting DLOPEN_REQUIRE_PTHREADS to "yes" or "no" in /etc/mk.conf.
Diffstat (limited to 'databases/postgresql73')
-rw-r--r--databases/postgresql73/distinfo4
-rw-r--r--databases/postgresql73/patches/patch-ab13
-rw-r--r--databases/postgresql73/patches/patch-ak15
3 files changed, 31 insertions, 1 deletions
diff --git a/databases/postgresql73/distinfo b/databases/postgresql73/distinfo
index b5274109f78..79ab984d8a4 100644
--- a/databases/postgresql73/distinfo
+++ b/databases/postgresql73/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.4 2004/10/25 17:40:01 jdolecek Exp $
+$NetBSD: distinfo,v 1.5 2004/12/18 15:59:55 jlam Exp $
SHA1 (postgresql-7.3.8.tar.gz) = bd27703cbcc219d36521a0e57233408a6f70b342
Size (postgresql-7.3.8.tar.gz) = 11293472 bytes
SHA1 (patch-aa) = 61fbeb664b0d89c83a36c79cca3fbdc78d6f5059
+SHA1 (patch-ab) = d45df2da17b1ff67f5f82b4ff743afe350500786
SHA1 (patch-ac) = 5a647cc31873ae81a5bd5a6cf4ec6f44a43448e7
SHA1 (patch-ad) = a7bdfab69fdc9063d03adae7229f55ba356f2282
SHA1 (patch-ae) = 5b46ea9782da574ee0c4b1c02534e0f74d640559
@@ -11,3 +12,4 @@ SHA1 (patch-ag) = 6d12184b8401e63b8a05c620beb27f28248c22da
SHA1 (patch-ah) = 210c0dda3c32481280fe5f2a9525d33f1d989c6d
SHA1 (patch-ai) = d7889e05ab7963f2b93b46c953cbf1a44e9c0fe5
SHA1 (patch-aj) = 4c46173cba1dd36296d8b3fcca8cdfebcc717162
+SHA1 (patch-ak) = a983f23b5e47a4c2f31ba284ff3db51b53cf8414
diff --git a/databases/postgresql73/patches/patch-ab b/databases/postgresql73/patches/patch-ab
new file mode 100644
index 00000000000..957eac3b0e8
--- /dev/null
+++ b/databases/postgresql73/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2004/12/18 15:59:55 jlam Exp $
+
+--- src/Makefile.shlib.orig 2003-01-11 12:22:34.000000000 -0500
++++ src/Makefile.shlib
+@@ -204,7 +204,7 @@ ifeq ($(PORTNAME), beos)
+ SHLIB_LINK += -ltermcap -lstdc++.r4 -lbind -lsocket -L/boot/develop/lib/x86
+ endif
+
+-SHLIB_LINK := $(filter -L%, $(LDFLAGS)) $(SHLIB_LINK)
++SHLIB_LINK := $(LDFLAGS) $(SHLIB_LINK)
+ ifeq ($(enable_rpath), yes)
+ SHLIB_LINK += $(rpath)
+ endif
diff --git a/databases/postgresql73/patches/patch-ak b/databases/postgresql73/patches/patch-ak
new file mode 100644
index 00000000000..10f5a8311fb
--- /dev/null
+++ b/databases/postgresql73/patches/patch-ak
@@ -0,0 +1,15 @@
+$NetBSD: patch-ak,v 1.1 2004/12/18 15:59:55 jlam Exp $
+
+--- src/backend/Makefile.orig 2003-03-21 12:18:34.000000000 -0500
++++ src/backend/Makefile
+@@ -12,6 +12,10 @@ subdir = src/backend
+ top_builddir = ../..
+ include $(top_builddir)/src/Makefile.global
+
++CFLAGS+= $(DL_CFLAGS)
++LDFLAGS+= $(DL_LDFLAGS)
++LIBS+= $(DL_LIBS)
++
+ DIRS := access bootstrap catalog parser commands executor lib libpq \
+ main nodes optimizer port postmaster regex rewrite \
+ storage tcop utils