/[gentoo-x86]/eclass/eutils.eclass
Gentoo

Diff of /eclass/eutils.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.133 Revision 1.134
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.133 2004/12/29 18:19:04 lanius Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.134 2004/12/30 21:48:23 seemant 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.
1594 touch ${D}${LIB} 1594 touch ${D}${LIB}
1595 fi 1595 fi
1596} 1596}
1597 1597
1598preserve_old_lib_notify() { 1598preserve_old_lib_notify() {
1599 LIB=$1 1599 LIB=$1
1600 1600
1601 if [ -n "${LIB}" -a -f "${ROOT}${LIB}" ]; then 1601 if [ -n "${LIB}" -a -f "${ROOT}${LIB}" ]; then
1602 SONAME=`basename ${LIB}` 1602 SONAME=`basename ${LIB}`
1603 1603
1604 einfo "An old version of an installed library was detected on your system." 1604 einfo "An old version of an installed library was detected on your system."
1605 einfo "In order to avoid breaking packages that link against is, this older version" 1605 einfo "In order to avoid breaking packages that link against is, this older version"
1606 einfo "is not being removed. In order to make full use of this newer version," 1606 einfo "is not being removed. In order to make full use of this newer version,"
1607 einfo "you will need to execute the following command:" 1607 einfo "you will need to execute the following command:"
1608 einfo " revdep-rebuild --soname ${SONAME}" 1608 einfo " revdep-rebuild --soname ${SONAME}"
1609 einfo 1609 einfo
1610 einfo "After doing that, you can safely remove ${LIB}" 1610 einfo "After doing that, you can safely remove ${LIB}"
1611 einfo "Note: 'emerge gentoolkit' to get revdep-rebuild" 1611 einfo "Note: 'emerge gentoolkit' to get revdep-rebuild"
1612 fi 1612 fi
1613} 1613}
1614 1614
1615# Hack for people to figure out if a package was built with 1615# Hack for people to figure out if a package was built with
1616# certain USE flags 1616# certain USE flags
1617# 1617#

Legend:
Removed from v.1.133  
changed lines
  Added in v.1.134

  ViewVC Help
Powered by ViewVC 1.1.20