public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-libs/libexif: ChangeLog libexif-0.6.20.ebuild
       [not found] <20111113180716.E5E082004B@flycatcher.gentoo.org>
@ 2011-11-13 18:19 ` Samuli Suominen
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen @ 2011-11-13 18:19 UTC (permalink / raw
  To: gentoo-dev, xmw

On 11/13/2011 08:07 PM, Michael Weber (xmw) wrote:
> xmw         11/11/13 18:07:16
> 
>   Modified:             ChangeLog libexif-0.6.20.ebuild
>   Log:
>   remove -g from FLAGS, as pointed out by Agostino Sarubbo (bug 390249)
> @@ -22,7 +22,11 @@
>  
>  src_prepare() {
>  	epatch "${FILESDIR}"/${PN}-0.6.13-pkgconfig.patch
> -	elibtoolize # FreeBSD .so version
> +	#elibtoolize # FreeBSD .so version
> +	sed -e '/FLAGS=/s:-g::g' \
> +		-e '/FLAGS=/s:-Wall::g' \
> +		-i configure.ac
> +	eautoreconf
>  }

removing compile warning flags is not allowed, thus hiding also
Portage's QA messages. restore -Wall.

and running eautoreconf just to remove -g from configure is too heavy.
just sed the configure directly.

>  
>  src_configure() {
> @@ -38,5 +42,4 @@
>  	emake DESTDIR="${D}" install || die
>  	find "${D}" -name '*.la' -exec rm -f {} +
>  	rm -f "${D}"usr/share/doc/${PF}/{ABOUT-NLS,COPYING}
> -	prepalldocs
>  }

the prepalldocs was still used because the ebuild is not EAPI=4. restore
it or upgrade the EAPI.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-11-13 18:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20111113180716.E5E082004B@flycatcher.gentoo.org>
2011-11-13 18:19 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-libs/libexif: ChangeLog libexif-0.6.20.ebuild Samuli Suominen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox