[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] [PATCH 2/3] xorg-2.eclass: Remove use of prune_libtool_files
From:       Ulrich Mueller <ulm () gentoo ! org>
Date:       2019-02-25 6:37:53
Message-ID: w6gmumkfk5a.fsf () kph ! uni-mainz ! de
[Download RAW message or body]


>>>>> On Wed, 20 Feb 2019, Michał Górny wrote:

> On Wed, 2019-02-20 at 07:20 +0100, Ulrich Mueller wrote:
>> > > > > > On Wed, 20 Feb 2019, Matt Turner wrote:
>> 
>> 
>> >  	# Don't install libtool archives (even for modules)
>> > -	prune_libtool_files --all
>> > +	find "${D}" -name '*.la' -delete || die
>> 
>> Maybe restrict removal to regular files, i.e. add "-type f"?

> I suppose you should have spoken up when people started adopting that
> 'find' line all over the place.  Though I honestly doubt we're going
> to see many packages installing '*.la' non-files.

I have updated the example in ltprune.eclass now.

That still won't catch regular non-libtool files, but people needing
additional sanity checks can still use the eclass.

Ulrich

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic