From 1277bc65ea2f96330980419d2fe0296c2151fb69 Mon Sep 17 00:00:00 2001
From: Daniel Black <dragonheart@gentoo.org>
Date: Sat, 1 Oct 2005 04:31:00 +0000
Subject: fixed rpath issues bug #105759 thanks to Jason Wever (Portage
 version: 2.0.52-r1)

---
 dev-libs/libprelude/files/digest-libprelude-0.9.0    |  1 -
 dev-libs/libprelude/files/digest-libprelude-0.9.0-r1 |  1 +
 .../files/libprelude-0.9.0-perlpathfix.patch         | 20 ++++++++++++++++++++
 3 files changed, 21 insertions(+), 1 deletion(-)
 delete mode 100644 dev-libs/libprelude/files/digest-libprelude-0.9.0
 create mode 100644 dev-libs/libprelude/files/digest-libprelude-0.9.0-r1
 create mode 100644 dev-libs/libprelude/files/libprelude-0.9.0-perlpathfix.patch

(limited to 'dev-libs/libprelude/files')

diff --git a/dev-libs/libprelude/files/digest-libprelude-0.9.0 b/dev-libs/libprelude/files/digest-libprelude-0.9.0
deleted file mode 100644
index c29d078ad71a..000000000000
--- a/dev-libs/libprelude/files/digest-libprelude-0.9.0
+++ /dev/null
@@ -1 +0,0 @@
-MD5 95fe75b77b8be8992bc87274d6e2283a libprelude-0.9.0.tar.gz 1672391
diff --git a/dev-libs/libprelude/files/digest-libprelude-0.9.0-r1 b/dev-libs/libprelude/files/digest-libprelude-0.9.0-r1
new file mode 100644
index 000000000000..c29d078ad71a
--- /dev/null
+++ b/dev-libs/libprelude/files/digest-libprelude-0.9.0-r1
@@ -0,0 +1 @@
+MD5 95fe75b77b8be8992bc87274d6e2283a libprelude-0.9.0.tar.gz 1672391
diff --git a/dev-libs/libprelude/files/libprelude-0.9.0-perlpathfix.patch b/dev-libs/libprelude/files/libprelude-0.9.0-perlpathfix.patch
new file mode 100644
index 000000000000..233fb5335c30
--- /dev/null
+++ b/dev-libs/libprelude/files/libprelude-0.9.0-perlpathfix.patch
@@ -0,0 +1,20 @@
+--- libprelude-0.9.0/bindings/perl/Makefile.PL.in.orig	2005-10-01 14:05:32.000000000 +1000
++++ libprelude-0.9.0/bindings/perl/Makefile.PL.in	2005-10-01 14:05:56.000000000 +1000
+@@ -6,7 +6,7 @@
+ 
+ my %attributs = (NAME => 'Prelude',
+ 		 INC => '-I@top_srcdir@ -I@top_builddir@/src/include -I@top_srcdir@/src/include -I@top_builddir@/src/libprelude-error @PTHREAD_CFLAGS@',
+-		 LIBS => ["-L@top_builddir@/src/.libs -lprelude", "-L$ENV{LIBDIR} -lprelude @libprelude_libs@ @LIBADD_DL@ @PTHREAD_LIBS@" ],
++		 LIBS => ["-lprelude", "-L$ENV{LIBDIR} -lprelude @libprelude_libs@ @LIBADD_DL@ @PTHREAD_LIBS@" ],
+ 		 LDDLFLAGS => "-L@top_builddir@/src/.libs @PTHREAD_CFLAGS@ $Config{lddlflags}");
+ 
+ if ( abs_path("@top_srcdir@") ne abs_path("@top_builddir@") ) {
+@@ -21,7 +21,7 @@
+ if ( -w $Config{"sitelib"} ) {
+     $attributs{"INSTALLDIRS"} = "site";
+ } else {
+-    $attributs{"PREFIX"} = "$ENV{DESTDIR}/@prefix@";
++    $attributs{"PREFIX"} = "@prefix@";
+ }
+ 
+ WriteMakefile(%attributs);
-- 
cgit v1.2.3-65-gdbad