diff options
author | Christoph Mende <angelos@gentoo.org> | 2008-12-30 21:39:32 +0000 |
---|---|---|
committer | Christoph Mende <angelos@gentoo.org> | 2008-12-30 21:39:32 +0000 |
commit | d670dfe316a7bc0af22c3be08a85fa3a809ce7c6 (patch) | |
tree | 03f697f9aa6a79c9a3b2a1a72422b1265ade6c81 /app-text | |
parent | QA: Respect CC (bug 243738), respect CFLAGS (bug 240139), fix test suite (diff) | |
download | gentoo-2-d670dfe316a7bc0af22c3be08a85fa3a809ce7c6.tar.gz gentoo-2-d670dfe316a7bc0af22c3be08a85fa3a809ce7c6.tar.bz2 gentoo-2-d670dfe316a7bc0af22c3be08a85fa3a809ce7c6.zip |
QA: Respect CC (bug 243736)
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/mpage/ChangeLog | 7 | ||||
-rw-r--r-- | app-text/mpage/mpage-2.5.4.ebuild | 13 |
2 files changed, 12 insertions, 8 deletions
diff --git a/app-text/mpage/ChangeLog b/app-text/mpage/ChangeLog index e8e09231f7c5..22b4bf76b87f 100644 --- a/app-text/mpage/ChangeLog +++ b/app-text/mpage/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/mpage -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/mpage/ChangeLog,v 1.23 2007/01/06 00:53:35 kugelfang Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/mpage/ChangeLog,v 1.24 2008/12/30 21:39:32 angelos Exp $ + + 30 Dec 2008; Christoph Mende <angelos@gentoo.org> mpage-2.5.4.ebuild: + QA: Respect CC (bug 243736) 06 Jan 2007; Danny van Dyk <kugelfang@gentoo.org> -mpage-2.5.3.ebuild: QA: Removed unused versions. diff --git a/app-text/mpage/mpage-2.5.4.ebuild b/app-text/mpage/mpage-2.5.4.ebuild index e00f8c14f7d5..6f5ed49c5c74 100644 --- a/app-text/mpage/mpage-2.5.4.ebuild +++ b/app-text/mpage/mpage-2.5.4.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/mpage/mpage-2.5.4.ebuild,v 1.6 2006/08/17 18:05:52 malc Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/mpage/mpage-2.5.4.ebuild,v 1.7 2008/12/30 21:39:32 angelos Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Many to one page printing utility" HOMEPAGE="http://www.mesa.nl/" -SRC_URI="http://www.mesa.nl/pub/mpage/${P}.tgz" +SRC_URI="http://www.mesa.nl/pub/${PN}/${P}.tgz" KEYWORDS="amd64 ppc sparc x86" LICENSE="freedist" @@ -15,18 +15,19 @@ IUSE="" src_unpack() { unpack ${A} - epatch "${FILESDIR}"/${P}-gcc4.patch } + src_compile() { emake \ CFLAGS="$CFLAGS \$(DEFS)" \ + CC="$(tc-getCC)" \ PREFIX=/usr \ MANDIR=/usr/share/man/man1 || die "emake failed" } src_install () { - make \ + emake \ PREFIX="${D}/usr" \ MANDIR="${D}/usr/share/man/man1" install || die "make install failed" dodoc CHANGES Encoding.format FAQ NEWS README TODO || die "dodoc failed" |