diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2011-08-07 21:10:07 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2011-08-07 21:10:07 +0000 |
commit | 79ca988dd58c7b34bed229b29dba82ce51f781bd (patch) | |
tree | 1e8b2200a37e79fd4ea299b5e91379eb5f025c87 /sys-libs | |
parent | put my entry in the correct place (diff) | |
download | gentoo-2-79ca988dd58c7b34bed229b29dba82ce51f781bd.tar.gz gentoo-2-79ca988dd58c7b34bed229b29dba82ce51f781bd.tar.bz2 gentoo-2-79ca988dd58c7b34bed229b29dba82ce51f781bd.zip |
Fix misc errors in sys-libs/ldb, bug #377881
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/ldb/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/ldb/ldb-1.1.0.ebuild | 17 |
2 files changed, 18 insertions, 4 deletions
diff --git a/sys-libs/ldb/ChangeLog b/sys-libs/ldb/ChangeLog index 5e75467c1324..76aee2162698 100644 --- a/sys-libs/ldb/ChangeLog +++ b/sys-libs/ldb/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/ldb # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/ldb/ChangeLog,v 1.1 2011/08/04 18:33:24 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ldb/ChangeLog,v 1.2 2011/08/07 21:10:07 maksbotan Exp $ + + 07 Aug 2011; <maks@gentoo.org> ldb-1.1.0.ebuild: + Fix missing dependency and test problems, thanks slepnoga. Bug 377881 *ldb-1.1.0 (04 Aug 2011) diff --git a/sys-libs/ldb/ldb-1.1.0.ebuild b/sys-libs/ldb/ldb-1.1.0.ebuild index fcf13cc3ed1d..919cb973902d 100644 --- a/sys-libs/ldb/ldb-1.1.0.ebuild +++ b/sys-libs/ldb/ldb-1.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/ldb/ldb-1.1.0.ebuild,v 1.1 2011/08/04 18:33:24 maksbotan Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/ldb/ldb-1.1.0.ebuild,v 1.2 2011/08/07 21:10:07 maksbotan Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -17,8 +17,8 @@ KEYWORDS="~amd64 ~x86" IUSE="doc" RDEPEND="dev-libs/popt - >=sys-libs/talloc-2.0.0 - sys-libs/tdb + >=sys-libs/talloc-2.0.0[python] + sys-libs/tdb[python] sys-libs/tevent net-nds/openldap" @@ -31,6 +31,7 @@ WAF_BINARY="${S}/buildtools/bin/waf-svn" pkg_setup() { python_set_active_version 2 python_pkg_setup + python_need_rebuild } src_configure() { @@ -48,6 +49,12 @@ src_compile(){ use doc && doxygen Doxyfile } +src_test() { + WAF_MAKE=1 \ + PATH=buildtools/bin:../../../buildtools/bin:$PATH:"${S}"/bin/shared/private/ \ + LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/"${S}"/bin/shared/private/ waf test || die +} + src_install() { waf-utils_src_install rm "${D}/$(python_get_sitedir)/"_tevent.so @@ -57,3 +64,7 @@ src_install() { doman apidocs/man/man3/*.3 fi } + +pkg_postinst() { + python_need_rebuild +} |