summaryrefslogtreecommitdiff
blob: 58ba632c598b7ac551baeeeba7906c80977e8bc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
--- libprelude-0.9.0/bindings/Makefile.am.orig	2005-10-03 09:25:29.000000000 +1000
+++ libprelude-0.9.0/bindings/Makefile.am	2005-10-03 09:26:15.000000000 +1000
@@ -44,7 +44,7 @@
 
 
 perl-build:
-	cd perl && $(MAKE)
+	cd perl && $(MAKE) LD_RUN_PATH=""
 
 python-build:
 	cd python && $(PYTHON) setup.py build
@@ -56,7 +56,7 @@
 #
 # Workaround invalid Makefile generated by MakeMaker when UTF-8 is enabled.
 #
-	cd perl && DESTDIR=$(DESTDIR) LANG="" $(PERL) Makefile.PL && $(MAKE) install
+	cd perl && DESTDIR=$(DESTDIR) LANG="" $(PERL) Makefile.PL && $(MAKE) LD_RUN_PATH="" install
 endif
 
 if HAVE_PYTHON
--- libprelude-0.9.0/bindings/Makefile.in.orig	2005-10-03 09:25:23.000000000 +1000
+++ libprelude-0.9.0/bindings/Makefile.in	2005-10-03 09:26:38.000000000 +1000
@@ -374,7 +374,7 @@
 @HAVE_SWIG_TRUE@	$(SWIG) -I$(top_srcdir)/bindings -I$(top_srcdir)/src/include -I$(top_srcdir)/src/libprelude-error -o $@ -python -noproxy -interface _prelude -module _prelude libprelude.i
 
 perl-build:
-	cd perl && $(MAKE)
+	cd perl && $(MAKE) LD_RUN_PATH=""
 
 python-build:
 	cd python && $(PYTHON) setup.py build
@@ -383,7 +383,7 @@
 #
 # Workaround invalid Makefile generated by MakeMaker when UTF-8 is enabled.
 #
-@HAVE_PERL_TRUE@	cd perl && DESTDIR=$(DESTDIR) LANG="" $(PERL) Makefile.PL && $(MAKE) install
+@HAVE_PERL_TRUE@	cd perl && DESTDIR=$(DESTDIR) LANG="" $(PERL) Makefile.PL && $(MAKE) LD_RUN_PATH="" install
 
 @HAVE_PYTHON_TRUE@	cd python && $(PYTHON) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
 
--- libprelude-0.9.0/bindings/perl/Makefile.PL.in.orig	2005-10-03 09:26:51.000000000 +1000
+++ libprelude-0.9.0/bindings/perl/Makefile.PL.in	2005-10-03 09:27:19.000000000 +1000
@@ -21,7 +21,7 @@
 if ( -w $Config{"sitelib"} ) {
     $attributs{"INSTALLDIRS"} = "site";
 } else {
-    $attributs{"PREFIX"} = "$ENV{DESTDIR}/@prefix@";
+    $attributs{"PREFIX"} = "@prefix@";
 }
 
 WriteMakefile(%attributs);