diff options
author | Daniel Black <dragonheart@gentoo.org> | 2005-10-02 23:52:23 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2005-10-02 23:52:23 +0000 |
commit | 058899ee8332363d8991d35f1002162cc24ebc03 (patch) | |
tree | 6e982314d2444eb2b42f0659f96e7865851f1bbc /dev-libs/libpreludedb/files | |
parent | Version bump. (diff) | |
download | gentoo-2-058899ee8332363d8991d35f1002162cc24ebc03.tar.gz gentoo-2-058899ee8332363d8991d35f1002162cc24ebc03.tar.bz2 gentoo-2-058899ee8332363d8991d35f1002162cc24ebc03.zip |
fixed perl binding thanks to Yoann
(Portage version: 2.0.53_rc3)
Diffstat (limited to 'dev-libs/libpreludedb/files')
-rw-r--r-- | dev-libs/libpreludedb/files/digest-libpreludedb-0.9.0-r2 (renamed from dev-libs/libpreludedb/files/digest-libpreludedb-0.9.0-r1) | 0 | ||||
-rw-r--r-- | dev-libs/libpreludedb/files/libpreludedb-0.9.0-perlpathfix.patch | 54 |
2 files changed, 45 insertions, 9 deletions
diff --git a/dev-libs/libpreludedb/files/digest-libpreludedb-0.9.0-r1 b/dev-libs/libpreludedb/files/digest-libpreludedb-0.9.0-r2 index f72ecf352238..f72ecf352238 100644 --- a/dev-libs/libpreludedb/files/digest-libpreludedb-0.9.0-r1 +++ b/dev-libs/libpreludedb/files/digest-libpreludedb-0.9.0-r2 diff --git a/dev-libs/libpreludedb/files/libpreludedb-0.9.0-perlpathfix.patch b/dev-libs/libpreludedb/files/libpreludedb-0.9.0-perlpathfix.patch index 994302885036..370d392400ba 100644 --- a/dev-libs/libpreludedb/files/libpreludedb-0.9.0-perlpathfix.patch +++ b/dev-libs/libpreludedb/files/libpreludedb-0.9.0-perlpathfix.patch @@ -1,14 +1,50 @@ ---- libpreludedb-0.9.0/bindings/perl/Makefile.PL.in.orig 2005-10-01 14:18:54.000000000 +1000 -+++ libpreludedb-0.9.0/bindings/perl/Makefile.PL.in 2005-10-01 14:19:09.000000000 +1000 -@@ -6,7 +6,7 @@ +diff -ru libpreludedb-0.9.0.orig/bindings/Makefile.am libpreludedb-0.9.0/bindings/Makefile.am +--- libpreludedb-0.9.0.orig/bindings/Makefile.am 2005-09-15 21:58:10.000000000 +1000 ++++ libpreludedb-0.9.0/bindings/Makefile.am 2005-10-03 09:37:44.000000000 +1000 +@@ -52,7 +52,7 @@ - my %attributs = (NAME => 'PreludeDB', - INC => '-I@top_srcdir@/src/include @LIBPRELUDE_CFLAGS@ @LIBPRELUDE_PTHREAD_CFLAGS@', -- LIBS => ["-L@top_builddir@/src/.libs -lpreludedb", "-L$ENV{LIBDIR} -lpreludedb @LIBPRELUDE_LIBS@" ], -+ LIBS => ["-lpreludedb", "-L$ENV{LIBDIR} -lpreludedb @LIBPRELUDE_LIBS@" ], - LDDLFLAGS => "@LIBPRELUDE_LDFLAGS@ @LIBPRELUDE_PTHREAD_CFLAGS@ $Config{lddlflags}"); - if ( abs_path("@top_srcdir@") ne abs_path("@top_builddir@") ) { + perl-build: +- cd perl && $(MAKE) ++ cd perl && $(MAKE) LD_RUN_PATH="" + + python-build: + cd python && $(PYTHON) setup.py build +@@ -64,7 +64,7 @@ + # + # Workaround for 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 +Only in libpreludedb-0.9.0/bindings: Makefile.am.orig +diff -ru libpreludedb-0.9.0.orig/bindings/Makefile.in libpreludedb-0.9.0/bindings/Makefile.in +--- libpreludedb-0.9.0.orig/bindings/Makefile.in 2005-09-20 20:25:39.000000000 +1000 ++++ libpreludedb-0.9.0/bindings/Makefile.in 2005-10-03 09:37:44.000000000 +1000 +@@ -369,7 +369,7 @@ + @HAVE_SWIG_TRUE@ $(SWIG) -I$(top_srcdir)/src/include -o $@ -python -noproxy -interface _preludedb -module _preludedb libpreludedb.i + + perl-build: +- cd perl && $(MAKE) ++ cd perl && $(MAKE) LD_RUN_PATH="" + + python-build: + cd python && $(PYTHON) setup.py build +@@ -378,7 +378,7 @@ + # + # Workaround for 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)` + +Only in libpreludedb-0.9.0/bindings: Makefile.in.orig +diff -ru libpreludedb-0.9.0.orig/bindings/perl/Makefile.PL.in libpreludedb-0.9.0/bindings/perl/Makefile.PL.in +--- libpreludedb-0.9.0.orig/bindings/perl/Makefile.PL.in 2005-09-15 00:07:46.000000000 +1000 ++++ libpreludedb-0.9.0/bindings/perl/Makefile.PL.in 2005-10-03 09:37:44.000000000 +1000 @@ -21,7 +21,7 @@ if ( -w $Config{"sitelib"} ) { $attributs{"INSTALLDIRS"} = "site"; |