| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.183 2005/06/14 17:56:15 wolf31o2 Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.184 2005/06/24 17:08:43 eradicator Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Martin Schlemmer <azarah@gentoo.org> |
5 | # Author: Martin Schlemmer <azarah@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # This eclass is for general purpose functions that most ebuilds |
7 | # This eclass is for general purpose functions that most ebuilds |
| 8 | # have to implement themselves. |
8 | # have to implement themselves. |
| … | |
… | |
| 1499 | |
1499 | |
| 1500 | if [ -n "${LIB}" -a -f "${ROOT}${LIB}" ]; then |
1500 | if [ -n "${LIB}" -a -f "${ROOT}${LIB}" ]; then |
| 1501 | SONAME=`basename ${LIB}` |
1501 | SONAME=`basename ${LIB}` |
| 1502 | |
1502 | |
| 1503 | einfo "An old version of an installed library was detected on your system." |
1503 | einfo "An old version of an installed library was detected on your system." |
| 1504 | einfo "In order to avoid breaking packages that link against is, this older version" |
1504 | einfo "In order to avoid breaking packages that link against it, this older version" |
| 1505 | einfo "is not being removed. In order to make full use of this newer version," |
1505 | einfo "is not being removed. In order to make full use of this newer version," |
| 1506 | einfo "you will need to execute the following command:" |
1506 | einfo "you will need to execute the following command:" |
| 1507 | einfo " revdep-rebuild --soname ${SONAME}" |
1507 | einfo " revdep-rebuild --soname ${SONAME}" |
| 1508 | einfo |
1508 | einfo |
| 1509 | einfo "After doing that, you can safely remove ${LIB}" |
1509 | einfo "After doing that, you can safely remove ${LIB}" |