Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: "Paweł Hajdan, Jr." <phajdan.jr@g.o>
Subject: Re: preserve_old_lib and I'm even more lazy
Date: Mon, 27 Feb 2012 16:06:47 +0100
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

Attachment:
signature.asc (OpenPGP digital signature)
Replies:
Re: preserve_old_lib and I'm even more lazy
-- Pacho Ramos
References:
preserve_old_lib and I'm even more lazy
-- Paweł Hajdan, Jr.
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: preserve_old_lib and I'm even more lazy
Next by thread:
Re: preserve_old_lib and I'm even more lazy
Previous by date:
Re: github <> g.o.g.o
Next by date:
Re: Gentoo Janitor scripts


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.