Project

General

Profile

libprelude-0.9.0-perlpathfix.2.patch

libprelude-0.9.0-perlpathfix.patch - admin admin, 10/03/2005 01:54 AM

Download (1.89 KB)

View differences:

libprelude-0.9.0/bindings/Makefile.am 2005-10-03 09:26:15.000000000 +1000
44 44

  
45 45

  
46 46
perl-build:
47
	cd perl && $(MAKE)
47
	cd perl && $(MAKE) LD_RUN_PATH=""
48 48

  
49 49
python-build:
50 50
	cd python && $(PYTHON) setup.py build
......
56 56
#
57 57
# Workaround invalid Makefile generated by MakeMaker when UTF-8 is enabled.
58 58
#
59
	cd perl && DESTDIR=$(DESTDIR) LANG="" $(PERL) Makefile.PL && $(MAKE) install
59
	cd perl && DESTDIR=$(DESTDIR) LANG="" $(PERL) Makefile.PL && $(MAKE) LD_RUN_PATH="" install
60 60
endif
61 61

  
62 62
if HAVE_PYTHON
63
-- libprelude-0.9.0/bindings/Makefile.in.orig	2005-10-03 09:25:23.000000000 +1000
63
++ libprelude-0.9.0/bindings/Makefile.in	2005-10-03 09:26:38.000000000 +1000
......
374 374
@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
375 375

  
376 376
perl-build:
377
	cd perl && $(MAKE)
377
	cd perl && $(MAKE) LD_RUN_PATH=""
378 378

  
379 379
python-build:
380 380
	cd python && $(PYTHON) setup.py build
......
383 383
#
384 384
# Workaround invalid Makefile generated by MakeMaker when UTF-8 is enabled.
385 385
#
386
@HAVE_PERL_TRUE@	cd perl && DESTDIR=$(DESTDIR) LANG="" $(PERL) Makefile.PL && $(MAKE) install
386
@HAVE_PERL_TRUE@	cd perl && DESTDIR=$(DESTDIR) LANG="" $(PERL) Makefile.PL && $(MAKE) LD_RUN_PATH="" install
387 387

  
388 388
@HAVE_PYTHON_TRUE@	cd python && $(PYTHON) setup.py install `test -n "$(DESTDIR)" && echo --root $(DESTDIR)`
389 389

  
390
-- libprelude-0.9.0/bindings/perl/Makefile.PL.in.orig	2005-10-03 09:26:51.000000000 +1000
390
++ libprelude-0.9.0/bindings/perl/Makefile.PL.in	2005-10-03 09:27:19.000000000 +1000
......
21 21
if ( -w $Config{"sitelib"} ) {
22 22
    $attributs{"INSTALLDIRS"} = "site";
23 23
} else {
24
    $attributs{"PREFIX"} = "$ENV{DESTDIR}/@prefix@";
24
    $attributs{"PREFIX"} = "@prefix@";
25 25
}
26 26

  
27 27
WriteMakefile(%attributs);