diff options
author | Hanno Böck <hanno@gentoo.org> | 2008-10-25 19:15:38 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2008-10-25 19:15:38 +0000 |
commit | cbd2dca0861b2290fe9663f96cd4962cba6dac22 (patch) | |
tree | 159402ce1b515a8266652e5c5ae3ca743c32a09e /media-gfx/pngnq | |
parent | Bug #244300 - Call `emake install` with MANDIR=/usr/share/man. (diff) | |
download | gentoo-2-cbd2dca0861b2290fe9663f96cd4962cba6dac22.tar.gz gentoo-2-cbd2dca0861b2290fe9663f96cd4962cba6dac22.tar.bz2 gentoo-2-cbd2dca0861b2290fe9663f96cd4962cba6dac22.zip |
pngnq: respect cc variable
(Portage version: 2.2_rc12/cvs/Linux 2.6.28-rc1 x86_64)
Diffstat (limited to 'media-gfx/pngnq')
-rw-r--r-- | media-gfx/pngnq/ChangeLog | 5 | ||||
-rw-r--r-- | media-gfx/pngnq/pngnq-0.5.ebuild | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/media-gfx/pngnq/ChangeLog b/media-gfx/pngnq/ChangeLog index eb28ef9c5a95..2428dfa61d91 100644 --- a/media-gfx/pngnq/ChangeLog +++ b/media-gfx/pngnq/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-gfx/pngnq # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngnq/ChangeLog,v 1.3 2008/10/16 00:28:37 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngnq/ChangeLog,v 1.4 2008/10/25 19:15:38 hanno Exp $ + + 25 Oct 2008; Hanno Boeck <hanno@gentoo.org> pngnq-0.5.ebuild: + Respect CC variable, fixes #244164. 16 Oct 2008; Hanno Boeck <hanno@gentoo.org> +files/pngnq-0.5-cflags.diff, pngnq-0.5.ebuild: diff --git a/media-gfx/pngnq/pngnq-0.5.ebuild b/media-gfx/pngnq/pngnq-0.5.ebuild index e4bec29f8ca1..2ab52bf2ce62 100644 --- a/media-gfx/pngnq/pngnq-0.5.ebuild +++ b/media-gfx/pngnq/pngnq-0.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngnq/pngnq-0.5.ebuild,v 1.3 2008/10/16 00:28:37 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngnq/pngnq-0.5.ebuild,v 1.4 2008/10/25 19:15:38 hanno Exp $ inherit eutils @@ -25,6 +25,10 @@ src_unpack() { epatch "${FILESDIR}/${P}-cflags.diff" } +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed" +} + src_install() { emake install DESTDIR="${D}" || die "install failed" rm -rf "${D}/usr/share/doc/pngnq/" |