diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2009-09-20 19:52:44 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2009-09-20 19:52:44 +0000 |
commit | 06000a735f3e6fef416f2ffddf5f15fe2a71b58a (patch) | |
tree | ea81cb9890dd64d470a2b07d2677bf7d4f464da3 /sys-libs/db/db-4.2.52_p5-r1.ebuild | |
parent | add ~arm, bug #283953 (diff) | |
download | historical-06000a735f3e6fef416f2ffddf5f15fe2a71b58a.tar.gz historical-06000a735f3e6fef416f2ffddf5f15fe2a71b58a.tar.bz2 historical-06000a735f3e6fef416f2ffddf5f15fe2a71b58a.zip |
berkeley_db_svc is not always built, and might be going away permanently in db-4.8 series, but I suspect it might come back too, so just don't try to rename it if it doesn't exist. Thanks to Sebastian Luettich <selu@mediman.org>.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'sys-libs/db/db-4.2.52_p5-r1.ebuild')
-rw-r--r-- | sys-libs/db/db-4.2.52_p5-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-libs/db/db-4.2.52_p5-r1.ebuild b/sys-libs/db/db-4.2.52_p5-r1.ebuild index 04c8849f785b..cb533fdd215a 100644 --- a/sys-libs/db/db-4.2.52_p5-r1.ebuild +++ b/sys-libs/db/db-4.2.52_p5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.2.52_p5-r1.ebuild,v 1.11 2009/09/15 18:51:30 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-4.2.52_p5-r1.ebuild,v 1.12 2009/09/20 19:52:44 robbat2 Exp $ inherit eutils db flag-o-matic java-pkg-opt-2 autotools libtool @@ -146,6 +146,8 @@ src_install() { db_src_install_usrlibcleanup dodir /usr/sbin + # This file is not always built, and no longer exists as of db-4.8 + [[ -f "${D}"/usr/bin/berkeley_db_svc ]] && \ mv "${D}"/usr/bin/berkeley_db_svc "${D}"/usr/sbin/berkeley_db"${SLOT/./}"_svc if use java; then |