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/pngnq-0.5.ebuild | |
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/pngnq-0.5.ebuild')
-rw-r--r-- | media-gfx/pngnq/pngnq-0.5.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
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/" |