summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-09-09 16:32:08 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-09-09 16:32:08 +0000
commit169186e97b156f2a11d937867b91092a3d914464 (patch)
treeaccc973798f143737eb6fc47086d38af2332f4f7 /sys-libs/gdbm
parentno netlink warn bpatch (Manifest recommit) (diff)
downloadgentoo-2-169186e97b156f2a11d937867b91092a3d914464.tar.gz
gentoo-2-169186e97b156f2a11d937867b91092a3d914464.tar.bz2
gentoo-2-169186e97b156f2a11d937867b91092a3d914464.zip
get_libdir fixes.
Diffstat (limited to 'sys-libs/gdbm')
-rw-r--r--sys-libs/gdbm/ChangeLog5
-rw-r--r--sys-libs/gdbm/gdbm-1.8.3-r1.ebuild17
2 files changed, 14 insertions, 8 deletions
diff --git a/sys-libs/gdbm/ChangeLog b/sys-libs/gdbm/ChangeLog
index 830486f720c8..acaa71bd8e4a 100644
--- a/sys-libs/gdbm/ChangeLog
+++ b/sys-libs/gdbm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-libs/gdbm
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.26 2004/08/24 04:11:00 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/ChangeLog,v 1.27 2004/09/09 16:32:08 eradicator Exp $
+
+ 09 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> gdbm-1.8.3-r1.ebuild:
+ get_libdir fixes.
24 Aug 2004; Sven Wegener <swegener@gentoo.org> gdbm-1.8.3-r1.ebuild,
gdbm-1.8.3.ebuild:
diff --git a/sys-libs/gdbm/gdbm-1.8.3-r1.ebuild b/sys-libs/gdbm/gdbm-1.8.3-r1.ebuild
index cb0602aeb07b..3c2281bdcac4 100644
--- a/sys-libs/gdbm/gdbm-1.8.3-r1.ebuild
+++ b/sys-libs/gdbm/gdbm-1.8.3-r1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 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-r1.ebuild,v 1.5 2004/08/24 04:11:00 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gdbm/gdbm-1.8.3-r1.ebuild,v 1.6 2004/09/09 16:32:08 eradicator Exp $
-inherit gnuconfig flag-o-matic
+inherit gnuconfig flag-o-matic eutils
DESCRIPTION="Standard GNU database libraries included for compatibility with Perl"
HOMEPAGE="http://www.gnu.org/software/gdbm/gdbm.html"
@@ -41,13 +41,16 @@ src_install() {
dodoc ChangeLog NEWS README
# temp backwards support #32510
- if [ -s ${ROOT}/usr/lib/libgdbm.so.2 ] ; then
- cp ${ROOT}/usr/lib/libgdbm.so.2 ${D}/usr/lib/
- touch ${D}/usr/lib/libgdbm.so.2
+ if [ -e ${ROOT}/usr/$(get_libdir)/libgdbm.so.2 ] ; then
+ cp ${ROOT}/usr/$(get_libdir)/libgdbm.so.2 ${D}/usr/$(get_libdir)/
+ touch ${D}/usr/$(get_libdir)/libgdbm.so.2
fi
}
pkg_postinst() {
- ewarn "Please run revdep-rebuild --soname libgdbm.so.2"
- ewarn "Packages compiled against the previous version will not work"
+ 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
}