summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2002-06-14 20:18:18 +0000
committerRyan Phillips <rphillips@gentoo.org>2002-06-14 20:18:18 +0000
commitfd37614a4ac651595a3526be80f0b09dfc318313 (patch)
tree1557ca038671d9c17915a870c393ac12d99b29a9 /dev-db
parentnew revision (diff)
downloadhistorical-fd37614a4ac651595a3526be80f0b09dfc318313.tar.gz
historical-fd37614a4ac651595a3526be80f0b09dfc318313.tar.bz2
historical-fd37614a4ac651595a3526be80f0b09dfc318313.zip
added patch file
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/postgresql/files/postgresql-7.2.1-dyn-libperl-gentoo.diff39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-db/postgresql/files/postgresql-7.2.1-dyn-libperl-gentoo.diff b/dev-db/postgresql/files/postgresql-7.2.1-dyn-libperl-gentoo.diff
new file mode 100644
index 000000000000..6b6b57a45051
--- /dev/null
+++ b/dev-db/postgresql/files/postgresql-7.2.1-dyn-libperl-gentoo.diff
@@ -0,0 +1,39 @@
+--- postgresql-7.2/src/pl/plperl/Makefile.PL_orig 2002-02-15 16:59:00.000000000 +0100
++++ postgresql-7.2/src/pl/plperl/Makefile.PL 2002-02-15 16:59:23.000000000 +0100
+@@ -3,36 +3,6 @@
+ use DynaLoader;
+ use Config;
+
+-# On some platforms you can't build plperl unless libperl is a shared
+-# library. (Actually, it would be enough if code in libperl.a is
+-# compiled to be position-independent, but that is hard to check for
+-# and seems pretty unlikely anyway.) On some platforms it doesn't
+-# matter and they can pass in the --force flag to build anyway.
+-# (Having a shared libperl is still a lot better for efficiency,
+-# though.)
+-
+-if ($Config{'useshrplib'} ne 'true' && $ARGV[0] ne '--force') {
+- open(OUT, ">Makefile") or die "Can't write Makefile: $!\n";
+- print OUT <<'EndOfMakefile';
+-# Dummy Makefile for use when we can't build plperl
+-
+-all:
+- @echo ""; \
+- echo "*** Cannot build PL/Perl because libperl is not a shared library." ; \
+- echo "*** You might have to rebuild your Perl installation. Refer to"; \
+- echo "*** the documentation for details."; \
+- echo ""
+-
+-install:
+-
+-clean realclean:
+- rm -f Makefile
+-
+-EndOfMakefile
+- close(OUT);
+- exit(0);
+-}
+-
+ my $ldopts=ldopts();
+ $ldopts=~s/$Config{ccdlflags}//;
+