diff options
author | 2005-09-24 11:01:07 +0000 | |
---|---|---|
committer | 2005-09-24 11:01:07 +0000 | |
commit | 84bb1a3f4735f75b8967448955461aa6a6fd4b85 (patch) | |
tree | c8b6d09165cc93a5d6c9b55f598df838fb8493c1 /sys-libs/gdbm | |
parent | Pass --with-akode to configure. (diff) | |
download | gentoo-2-84bb1a3f4735f75b8967448955461aa6a6fd4b85.tar.gz gentoo-2-84bb1a3f4735f75b8967448955461aa6a6fd4b85.tar.bz2 gentoo-2-84bb1a3f4735f75b8967448955461aa6a6fd4b85.zip |
Revert changes to src_compile and src_install fixing installation of
/usr/include/gdbm.h, bug 106970. Patch by Arndt Wills <arndt@wills-online.de>.
(Portage version: 2.0.52-r1)
Diffstat (limited to 'sys-libs/gdbm')
-rw-r--r-- | sys-libs/gdbm/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/gdbm/Manifest | 20 | ||||
-rw-r--r-- | sys-libs/gdbm/files/digest-gdbm-1.8.3-r2 | 1 | ||||
-rw-r--r-- | sys-libs/gdbm/gdbm-1.8.3-r2.ebuild | 55 |
4 files changed, 69 insertions, 15 deletions
diff --git a/sys-libs/gdbm/ChangeLog b/sys-libs/gdbm/ChangeLog index 697b358c3344..d77d61b6e25d 100644 --- a/sys-libs/gdbm/ChangeLog +++ b/sys-libs/gdbm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-libs/gdbm # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.35 2005/09/21 23:15:19 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.36 2005/09/24 11:01:07 kloeri Exp $ + +*gdbm-1.8.3-r2 (24 Sep 2005) + + 24 Sep 2005; Bryan Østergaard <kloeri@gentoo.org> +gdbm-1.8.3-r2.ebuild: + Revert changes to src_compile and src_install fixing installation of + /usr/include/gdbm.h, bug 106970. Patch by Arndt Wills <arndt@wills-online.de>. 21 Sep 2005; Mike Frysinger <vapier@gentoo.org> +files/gdbm-1.8.3-fix-install-ownership.patch, gdbm-1.8.3-r1.ebuild: diff --git a/sys-libs/gdbm/Manifest b/sys-libs/gdbm/Manifest index 72aea3cea324..52efeab88bf3 100644 --- a/sys-libs/gdbm/Manifest +++ b/sys-libs/gdbm/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - +MD5 22314eff7a4f923601e6dba3863baf3d gdbm-1.8.0-r5.ebuild 1232 MD5 e77dfc3f70817b0d79d6de1ef72a9262 gdbm-1.8.3-r1.ebuild 1371 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 -MD5 22314eff7a4f923601e6dba3863baf3d gdbm-1.8.0-r5.ebuild 1232 -MD5 71105d688b424414cf6701315d17d75e ChangeLog 4589 -MD5 9ed34cb95efec19c95fbf28a2e7e0986 files/gdbm-1.8.3-fix-install-ownership.patch 1567 -MD5 c7bef9bbd37f161be399c58c61edef94 files/digest-gdbm-1.8.3-r1 62 +MD5 8b7e0ddad8091c982614ad89f03defba gdbm-1.8.3-r2.ebuild 1413 +MD5 d572b6b5abf94bd2ddc758b2558231a2 ChangeLog 4848 MD5 017b1a2d0ae227d89ee16480e3129a3b files/digest-gdbm-1.8.0-r5 62 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) - -iD8DBQFDMemngIKl8Uu19MoRApnrAJ9u+YoRcBoBdYot/FrIWsZaVAzaKwCcCFio -tF9nIRcbcuPmsH7KJ5f2y7A= -=DpBn ------END PGP SIGNATURE----- +MD5 c7bef9bbd37f161be399c58c61edef94 files/digest-gdbm-1.8.3-r1 62 +MD5 9ed34cb95efec19c95fbf28a2e7e0986 files/gdbm-1.8.3-fix-install-ownership.patch 1567 +MD5 c7bef9bbd37f161be399c58c61edef94 files/digest-gdbm-1.8.3-r2 62 diff --git a/sys-libs/gdbm/files/digest-gdbm-1.8.3-r2 b/sys-libs/gdbm/files/digest-gdbm-1.8.3-r2 new file mode 100644 index 000000000000..1e924487734e --- /dev/null +++ b/sys-libs/gdbm/files/digest-gdbm-1.8.3-r2 @@ -0,0 +1 @@ +MD5 1d1b1d5c0245b1c00aff92da751e9aa1 gdbm-1.8.3.tar.gz 228695 diff --git a/sys-libs/gdbm/gdbm-1.8.3-r2.ebuild b/sys-libs/gdbm/gdbm-1.8.3-r2.ebuild new file mode 100644 index 000000000000..b4c3b70331d9 --- /dev/null +++ b/sys-libs/gdbm/gdbm-1.8.3-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.3-r2.ebuild,v 1.1 2005/09/24 11:01:07 kloeri Exp $ + +inherit eutils libtool + +DESCRIPTION="Standard GNU database libraries included for compatibility with Perl" +HOMEPAGE="http://www.gnu.org/software/gdbm/gdbm.html" +SRC_URI="mirror://gnu/gdbm/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 ppc-macos" +IUSE="berkdb" + +DEPEND="berkdb? ( sys-libs/db )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-fix-install-ownership.patch #24178 + elibtoolize +} + +src_compile() { + use berkdb || export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no + econf || die + emake || die +} + +src_install() { + make INSTALL_ROOT="${D}" install || die + + make \ + includedir=/usr/include/gdbm \ + INSTALL_ROOT="${D}" \ + install-compat || die + + dodoc ChangeLog NEWS README +} + +pkg_preinst() { + # temp backwards support #32510 + if [[ -e ${ROOT}/usr/$(get_libdir)/libgdbm.so.2 ]] ; then + touch "${D}"/usr/$(get_libdir)/libgdbm.so.2 + fi +} + +pkg_postinst() { + if [[ -e ${ROOT}/usr/$(get_libdir)/libgdbm.so.2 ]] ; then + ewarn "Please run revdep-rebuild --soname libgdbm.so.2" + ewarn "After that completes, it will be safe to remove the old" + ewarn "library (${ROOT}usr/$(get_libdir)/libgdbm.so.2)." + fi +} |