1 |
On 2/24/12 6:56 PM, "Paweł Hajdan, Jr." wrote: |
2 |
> I'd like to modify eutils.eclass to only generate one command: |
3 |
> |
4 |
> # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4' && \ |
5 |
> rm '/usr/lib/libv8.so.3.9.4' |
6 |
|
7 |
Given supporting comments to this thread (and totally off-topic |
8 |
zfs/btrfs discussion), I'd like to commit the patch below in 24 hours. |
9 |
|
10 |
> --- eutils.eclass.orig 2012-02-26 10:02:24.000000000 +0100 |
11 |
> +++ eutils.eclass 2012-02-26 10:03:17.000000000 +0100 |
12 |
> @@ -1276,16 +1276,8 @@ |
13 |
> fi |
14 |
> # temp hack for #348634 #357225 |
15 |
> [[ ${PN} == "mpfr" ]] && lib=${lib##*/} |
16 |
> - ewarn " # revdep-rebuild --library '${lib}'" |
17 |
> + ewarn " # revdep-rebuild --library '${lib}' && rm '${lib}'" |
18 |
> done |
19 |
> - if [[ ${notice} -eq 1 ]] ; then |
20 |
> - ewarn |
21 |
> - ewarn "Once you've finished running revdep-rebuild, it should be safe to" |
22 |
> - ewarn "delete the old libraries. Here is a copy & paste for the lazy:" |
23 |
> - for lib in "$@" ; do |
24 |
> - ewarn " # rm '${lib}'" |
25 |
> - done |
26 |
> - fi |
27 |
> } |
28 |
> |
29 |
> # @FUNCTION: built_with_use |