pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases Don't bother stripping out the contents of "...
details: https://anonhg.NetBSD.org/pkgsrc/rev/98e8478b693d
branches: trunk
changeset: 499311:98e8478b693d
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon Sep 19 05:52:18 2005 +0000
description:
Don't bother stripping out the contents of "ccdlflags" from the contents
of "ldopts" used to link in the embedded perl interpreter. This fixes
PR pkg/31293.
The PostgreSQL configure code tries to be extra-clever with only using
its own logic for determining which directories to add to the rpath.
However, we don't really need PostgreSQL's configure to do this since
the Perl config already provides the full set of flags for linking,
including the appropriate rpath flags, and the rpaths flags determined
by Perl (at least in pkgsrc) are guaranteed to match the ones needed
PostgreSQL to link the plperl.so module.
Bump the PKGREVISION of databases/postgresql80-plperl to 1.
diffstat:
databases/postgresql80-plperl/Makefile | 3 ++-
databases/postgresql80/distinfo | 4 +++-
databases/postgresql80/patches/patch-aj | 14 ++++++++++++++
databases/postgresql80/patches/patch-ak | 15 +++++++++++++++
4 files changed, 34 insertions(+), 2 deletions(-)
diffs (64 lines):
diff -r 4f2c83dafdc7 -r 98e8478b693d databases/postgresql80-plperl/Makefile
--- a/databases/postgresql80-plperl/Makefile Sun Sep 18 23:34:54 2005 +0000
+++ b/databases/postgresql80-plperl/Makefile Mon Sep 19 05:52:18 2005 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2005/08/06 06:24:31 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2005/09/19 05:52:18 jlam Exp $
PKGNAME= postgresql80-plperl-${BASE_VERS}
+PKGREVISION= 1
COMMENT= PL/Perl procedural language for the PostgreSQL backend
DEPENDS+= postgresql80-server>=${BASE_VERS}:../../databases/postgresql80-server
diff -r 4f2c83dafdc7 -r 98e8478b693d databases/postgresql80/distinfo
--- a/databases/postgresql80/distinfo Sun Sep 18 23:34:54 2005 +0000
+++ b/databases/postgresql80/distinfo Mon Sep 19 05:52:18 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2005/08/05 19:43:45 jlam Exp $
+$NetBSD: distinfo,v 1.8 2005/09/19 05:52:18 jlam Exp $
SHA1 (postgresql-8.0.3.tar.bz2) = 45f9a739e414e617d1e5f43779046546ee1a0d3a
RMD160 (postgresql-8.0.3.tar.bz2) = 62e6a28c0041a3f0d456efe1e985f03778e4bdfa
@@ -15,3 +15,5 @@
SHA1 (patch-ag) = 6a7b3eab5a5f2911d75a32ad8f47570a7d6414e8
SHA1 (patch-ah) = 840c5e4f76317314b0f37c346076eb48c26541f9
SHA1 (patch-ai) = d480379c41b73da6eaa7914a557292d4124c8bbf
+SHA1 (patch-aj) = 6f2a9ad8fab9312aef71cc9c39ed8c4478a76fea
+SHA1 (patch-ak) = 3609a313fd8969995b4fd680dd10521a0ab7ece4
diff -r 4f2c83dafdc7 -r 98e8478b693d databases/postgresql80/patches/patch-aj
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql80/patches/patch-aj Mon Sep 19 05:52:18 2005 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-aj,v 1.1 2005/09/19 05:52:18 jlam Exp $
+
+--- config/perl.m4.orig 2003-11-29 19:51:17.000000000 +0000
++++ config/perl.m4
+@@ -28,8 +28,6 @@ AC_DEFUN([PGAC_CHECK_PERL_CONFIGS],
+ AC_DEFUN([PGAC_CHECK_PERL_EMBED_LDFLAGS],
+ [AC_REQUIRE([PGAC_PATH_PERL])
+ AC_MSG_CHECKING(for flags to link embedded Perl)
+-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`
+ AC_SUBST(perl_embed_ldflags)dnl
+ AC_MSG_RESULT([$perl_embed_ldflags])])
diff -r 4f2c83dafdc7 -r 98e8478b693d databases/postgresql80/patches/patch-ak
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/postgresql80/patches/patch-ak Mon Sep 19 05:52:18 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ak,v 1.1 2005/09/19 05:52:18 jlam Exp $
+
+--- configure.orig 2005-09-18 22:06:16.000000000 +0000
++++ configure
+@@ -4298,9 +4298,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
Home |
Main Index |
Thread Index |
Old Index