diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-09-02 23:24:07 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-09-02 23:24:07 +0000 |
commit | b8d350e6e5917d466c628381664f73fa791fba01 (patch) | |
tree | 8efd7a7763738b2af245a2538cfe0e32fe8a8461 /sys-libs/readline | |
parent | Minor fix (Manifest recommit) (diff) | |
download | gentoo-2-b8d350e6e5917d466c628381664f73fa791fba01.tar.gz gentoo-2-b8d350e6e5917d466c628381664f73fa791fba01.tar.bz2 gentoo-2-b8d350e6e5917d466c628381664f73fa791fba01.zip |
get_libdir fixups for backwards compatibility with readline-4.
Diffstat (limited to 'sys-libs/readline')
-rw-r--r-- | sys-libs/readline/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/readline/readline-5.0.ebuild | 12 |
2 files changed, 10 insertions, 7 deletions
diff --git a/sys-libs/readline/ChangeLog b/sys-libs/readline/ChangeLog index dfbdeda65352..3f5fa9cf43ba 100644 --- a/sys-libs/readline/ChangeLog +++ b/sys-libs/readline/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/readline # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.35 2004/08/26 11:51:25 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.36 2004/09/02 23:24:07 eradicator Exp $ + + 02 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> readline-5.0.ebuild: + get_libdir fixups for backwards compatibility with readline-4. 26 Aug 2004; Travis Tilley <lv@gentoo.org> readline-4.3-r5.ebuild, readline-4.3-r6.ebuild, readline-5.0.ebuild: diff --git a/sys-libs/readline/readline-5.0.ebuild b/sys-libs/readline/readline-5.0.ebuild index 81896f12ce8a..7d87f8f7c709 100644 --- a/sys-libs/readline/readline-5.0.ebuild +++ b/sys-libs/readline/readline-5.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.0.ebuild,v 1.4 2004/08/26 11:51:25 lv Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.0.ebuild,v 1.5 2004/09/02 23:24:07 eradicator Exp $ inherit eutils gnuconfig @@ -59,16 +59,16 @@ src_install() { dohtml -r doc # Backwards compatibility #29865 - if [ -e ${ROOT}/lib/libreadline.so.4 ] ; then - cp -a ${ROOT}/lib/libreadline.so.4* ${D}/lib/ - touch ${D}/lib/libreadline.so.4* + if [ -e ${ROOT}/$(get_libdir)/libreadline.so.4 ] ; then + cp -a ${ROOT}/$(get_libdir)/libreadline.so.4* ${D}/$(get_libdir)/ + touch ${D}/$(get_libdir)/libreadline.so.4* fi } pkg_postinst() { - if [ -e ${ROOT}/lib/libreadline.so.4 ] ; then + if [ -e ${ROOT}/$(get_libdir)/libreadline.so.4 ] ; then ewarn "Your old readline libraries have been copied over." ewarn "You should run 'revdep-rebuild --soname libreadline.so.4' asap." - ewarn "Once you have, you can safely delete /lib/libreadline.so.4*" + ewarn "Once you have, you can safely delete /$(get_libdir)/libreadline.so.4*" fi } |