diff options
author | Tom Lane <tgl@fedoraproject.org> | 2005-10-04 19:37:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@fedoraproject.org> | 2005-10-04 19:37:36 +0000 |
commit | 32269db0ad6656acc1476a6c689da2c811a73000 (patch) | |
tree | 393d88d0517517541237f3a1005f8188ff039d08 /postgresql-perl-rpath.patch | |
parent | e8f554df7da74b7e7951a33e14d62925095e5971 (diff) | |
download | postgresql-setup-32269db0ad6656acc1476a6c689da2c811a73000.tar.gz postgresql-setup-32269db0ad6656acc1476a6c689da2c811a73000.tar.xz postgresql-setup-32269db0ad6656acc1476a6c689da2c811a73000.zip |
Update to PostgreSQL 8.0.4, fix several minor packaging problems.postgresql-8_0_4-1
Diffstat (limited to 'postgresql-perl-rpath.patch')
-rw-r--r-- | postgresql-perl-rpath.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/postgresql-perl-rpath.patch b/postgresql-perl-rpath.patch new file mode 100644 index 0000000..115d9c0 --- /dev/null +++ b/postgresql-perl-rpath.patch @@ -0,0 +1,22 @@ +We configure Postgres with --disable-rpath because for the most part we +want to leave it to ldconfig to determine where libraries are. However, +for some reason the Perl package puts libperl.so in a nonstandard place +and doesn't add that place to the ldconfig search path. I think this +is a Perl packaging bug, myself, but apparently it's not going to change. +So work around it by adding an rpath spec to plperl.so (only). +Per bug #162198. + + +diff -Naur postgresql-8.0.4.orig/src/pl/plperl/GNUmakefile postgresql-8.0.4/src/pl/plperl/GNUmakefile +--- postgresql-8.0.4.orig/src/pl/plperl/GNUmakefile 2005-07-17 00:05:49.000000000 -0400 ++++ postgresql-8.0.4/src/pl/plperl/GNUmakefile 2005-10-04 12:15:27.000000000 -0400 +@@ -27,6 +27,9 @@ + + rpathdir = $(perl_archlibexp)/CORE + ++# Force rpath to be used even though we disable it everywhere else ++LDFLAGS += $(rpath) ++ + + NAME = plperl + SO_MAJOR_VERSION = 0 |