Gentoo Archives: gentoo-dev

From: "Paweł Hajdan
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] preserve_old_lib and I'm even more lazy
Date: Mon, 27 Feb 2012 15:08:05
Message-Id: 4F4B9C07.7070504@gentoo.org
In Reply to: [gentoo-dev] preserve_old_lib and I'm even more lazy by "Paweł Hajdan
On 2/24/12 6:56 PM, "Paweł Hajdan, Jr." wrote:
> I'd like to modify eutils.eclass to only generate one command: > > # revdep-rebuild --library '/usr/lib/libv8.so.3.9.4' && \ > rm '/usr/lib/libv8.so.3.9.4'
Given supporting comments to this thread (and totally off-topic zfs/btrfs discussion), I'd like to commit the patch below in 24 hours.
> --- eutils.eclass.orig 2012-02-26 10:02:24.000000000 +0100 > +++ eutils.eclass 2012-02-26 10:03:17.000000000 +0100 > @@ -1276,16 +1276,8 @@ > fi > # temp hack for #348634 #357225 > [[ ${PN} == "mpfr" ]] && lib=${lib##*/} > - ewarn " # revdep-rebuild --library '${lib}'" > + ewarn " # revdep-rebuild --library '${lib}' && rm '${lib}'" > done > - if [[ ${notice} -eq 1 ]] ; then > - ewarn > - ewarn "Once you've finished running revdep-rebuild, it should be safe to" > - ewarn "delete the old libraries. Here is a copy & paste for the lazy:" > - for lib in "$@" ; do > - ewarn " # rm '${lib}'" > - done > - fi > } > > # @FUNCTION: built_with_use

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] preserve_old_lib and I'm even more lazy Pacho Ramos <pacho@g.o>