1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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.392 2012/05/11 14:22:01 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.393 2012/05/28 16:45:57 phajdan.jr Exp $ |
4 | |
4 | |
5 | # @ECLASS: eutils.eclass |
5 | # @ECLASS: eutils.eclass |
6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
7 | # base-system@gentoo.org |
7 | # base-system@gentoo.org |
8 | # @BLURB: many extra (but common) functions that are used in ebuilds |
8 | # @BLURB: many extra (but common) functions that are used in ebuilds |
… | |
… | |
1088 | ewarn "helper program, simply emerge the 'gentoolkit' package." |
1088 | ewarn "helper program, simply emerge the 'gentoolkit' package." |
1089 | ewarn |
1089 | ewarn |
1090 | fi |
1090 | fi |
1091 | # temp hack for #348634 #357225 |
1091 | # temp hack for #348634 #357225 |
1092 | [[ ${PN} == "mpfr" ]] && lib=${lib##*/} |
1092 | [[ ${PN} == "mpfr" ]] && lib=${lib##*/} |
1093 | ewarn " # revdep-rebuild --library '${lib}'" |
1093 | ewarn " # revdep-rebuild --library '${lib}' && rm '${lib}'" |
1094 | done |
1094 | done |
1095 | if [[ ${notice} -eq 1 ]] ; then |
|
|
1096 | ewarn |
|
|
1097 | ewarn "Once you've finished running revdep-rebuild, it should be safe to" |
|
|
1098 | ewarn "delete the old libraries. Here is a copy & paste for the lazy:" |
|
|
1099 | for lib in "$@" ; do |
|
|
1100 | ewarn " # rm '${lib}'" |
|
|
1101 | done |
|
|
1102 | fi |
|
|
1103 | } |
1095 | } |
1104 | |
1096 | |
1105 | # @FUNCTION: built_with_use |
1097 | # @FUNCTION: built_with_use |
1106 | # @USAGE: [--hidden] [--missing <action>] [-a|-o] <DEPEND ATOM> <List of USE flags> |
1098 | # @USAGE: [--hidden] [--missing <action>] [-a|-o] <DEPEND ATOM> <List of USE flags> |
1107 | # @DESCRIPTION: |
1099 | # @DESCRIPTION: |