summaryrefslogtreecommitdiff
path: root/databases/postgresql74
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-12-18 16:36:29 +0000
committerjlam <jlam@pkgsrc.org>2004-12-18 16:36:29 +0000
commit3b03cc6d2fe96c1ef032a9e125c17a58dd53f569 (patch)
tree9693943fbb93c64c05b1176b4962e723fda33205 /databases/postgresql74
parent64f241c45bcc2c653772904b2ea01b4ba589a0e9 (diff)
downloadpkgsrc-3b03cc6d2fe96c1ef032a9e125c17a58dd53f569.tar.gz
Fix postgresql74-plperl so that it finds libperl.so at runtime. The
PostgreSQL configure/build infrastructure tries very hard to separate rpath flags from other LDFLAGS, which is completely unnecessary in pkgsrc since the wrapper scripts are smart enough to deal with it on their own. In this case, the GNU configure script was stripping out the rpath to libperl.so when setting perl_embed_ldflags, so modify the configure script to not do this. Also re-enable this package since it's possible to load the plperl.so language module again. I tested this with: createdb foo createlang -d foo plperl
Diffstat (limited to 'databases/postgresql74')
-rw-r--r--databases/postgresql74/distinfo4
-rw-r--r--databases/postgresql74/patches/patch-ac15
2 files changed, 15 insertions, 4 deletions
diff --git a/databases/postgresql74/distinfo b/databases/postgresql74/distinfo
index b91386599e2..2d38b99f65c 100644
--- a/databases/postgresql74/distinfo
+++ b/databases/postgresql74/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.13 2004/12/18 16:04:16 jlam Exp $
+$NetBSD: distinfo,v 1.14 2004/12/18 16:36:29 jlam Exp $
SHA1 (postgresql-7.4.6.tar.bz2) = 54e9126053579285b29a3a30e3055d1784a28b0a
Size (postgresql-7.4.6.tar.bz2) = 10200107 bytes
SHA1 (patch-aa) = 626b4b4bf0d47913072399535c55d413b90675a4
SHA1 (patch-ab) = f44a544c56452bad197a88cb827e88624c54656c
-SHA1 (patch-ac) = 39ce96f3ea9fc1167c8d21168fd1536077898d58
+SHA1 (patch-ac) = 81ef677cc5d196762b6cc3c3e38dee4a37e75ac2
SHA1 (patch-ad) = fae5e82e0943ea982c9d3aace290b56c6a7629f9
SHA1 (patch-ae) = f0e0ad98ebdc972e7c40afd805fbb0d909d5ef3b
SHA1 (patch-af) = 7373db75fda125b980f2ead990719798c0d22a48
diff --git a/databases/postgresql74/patches/patch-ac b/databases/postgresql74/patches/patch-ac
index 816a724e39c..a06dbb42938 100644
--- a/databases/postgresql74/patches/patch-ac
+++ b/databases/postgresql74/patches/patch-ac
@@ -1,6 +1,6 @@
-$NetBSD: patch-ac,v 1.1 2004/06/25 14:51:23 taca Exp $
+$NetBSD: patch-ac,v 1.2 2004/12/18 16:36:29 jlam Exp $
---- configure.orig Thu Jun 24 10:36:51 2004
+--- configure.orig 2004-10-21 20:26:15.000000000 -0400
+++ configure
@@ -337,7 +337,7 @@ localstatedir='${prefix}/var'
libdir='${exec_prefix}/lib'
@@ -11,3 +11,14 @@ $NetBSD: patch-ac,v 1.1 2004/06/25 14:51:23 taca Exp $
mandir='${prefix}/man'
ac_prev=
+@@ -4351,9 +4351,7 @@ echo "${ECHO_T}$perl_useshrplib" >&6
+
+ echo "$as_me:$LINENO: checking for flags to link embedded Perl" >&5
+ echo $ECHO_N "checking for flags to link embedded Perl... $ECHO_C" >&6
+-pgac_tmp1=`$PERL -MExtUtils::Embed -e ldopts`
+-pgac_tmp2=`$PERL -MConfig -e 'print $Config{ccdlflags}'`
+-perl_embed_ldflags=`echo X"$pgac_tmp1" | sed "s/^X//;s%$pgac_tmp2%%"`
++perl_embed_ldflags=`$PERL -MExtUtils::Embed -e ldopts`
+ echo "$as_me:$LINENO: result: $perl_embed_ldflags" >&5
+ echo "${ECHO_T}$perl_embed_ldflags" >&6
+ fi