# ChangeLog for dev-libs/libpreludedb
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/ChangeLog,v 1.16 2005/10/01 04:27:23 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/ChangeLog,v 1.17 2005/10/02 23:52:23 dragonheart Exp $
+
+*libpreludedb-0.9.0-r2 (02 Oct 2005)
+
+ 02 Oct 2005; Daniel Black <dragonheart@gentoo.org>
+ files/libpreludedb-0.9.0-perlpathfix.patch, -libpreludedb-0.9.0-r1.ebuild,
+ +libpreludedb-0.9.0-r2.ebuild:
+ fixed perl binding thanks to Yoann
*libpreludedb-0.9.0-r1 (01 Oct 2005)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 199bf7a0c02ce5f8759c78a5e606b501 libpreludedb-0.9.0-r1.ebuild 1632
+MD5 107e29eb09b7c29c0b40ab5aa9b4c01b ChangeLog 2902
+MD5 e3fc591d96386006ea662c8a8f5e41fc files/digest-libpreludedb-0.9.0-r2 70
+MD5 eb881e3dd50659c2089d28ee33743d87 files/libpreludedb-0.9.0-perlpathfix.patch 2304
+MD5 3786198de96351dc25c5d68227cdb91f libpreludedb-0.9.0-r2.ebuild 1575
MD5 46a99e432c86964e317f92a77160a836 metadata.xml 256
-MD5 f4e0132e0776ce696e34b8aecbec6a3a ChangeLog 2663
-MD5 694ca6484c32cb78ce33e4b6f643c4ea files/libpreludedb-0.9.0-perlpathfix.patch 894
-MD5 e3fc591d96386006ea662c8a8f5e41fc files/digest-libpreludedb-0.9.0-r1 70
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux)
-iD8DBQFDPhA+mdTrptrqvGERAoCiAJwL0rz9h3fBVfoz8fYQpcE4mtOSFQCeNhkO
-1YIQvQCejujtuvF9Xly1hhk=
-=/xIx
+iD8DBQFDQHLGmdTrptrqvGERAm6jAJsFi6T6cDNEC9y1aKW1YnfX87cTRgCglNGa
++VMe9OV6fclQuNhz6dG3MEM=
+=CKtD
-----END PGP SIGNATURE-----
---- 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";
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/libpreludedb-0.9.0-r1.ebuild,v 1.1 2005/10/01 04:27:23 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/libpreludedb-0.9.0-r2.ebuild,v 1.1 2005/10/02 23:52:23 dragonheart Exp $
inherit flag-o-matic
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE="debug doc mysql postgres perl python"
+IUSE="doc mysql postgres perl python"
DEPEND="virtual/libc
>=dev-libs/libprelude-0.9.0
src_compile() {
local myconf
- use debug && append-flags -O -ggdb
use doc && myconf="${myconf} --enable-gtk-doc" || myconf="${myconf} --enable-gtk-doc=no"
use mysql && myconf="${myconf} --enable-mysql" || myconf="${myconf} --enable-mysql=no"
use postgres && myconf="${myconf} --enable-postgresql" || myconf="${myconf} --enable-postgresql=no"
use python && myconf="${myconf} --enable-python" || myconf="${myconf} --enable-python=no"
econf ${myconf} || die "econf failed"
- LD_RUN_PATH="" emake -j1 || die "emake failed"
+ emake -j1 || die "emake failed"
# -j1 may not be necessary in the future
}