summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2009-07-23 23:02:13 +0000
committerVictor Ostorga <vostorga@gentoo.org>2009-07-23 23:02:13 +0000
commit3db65f9ecbba97cb8d127d9240a691c4164e2a3c (patch)
tree5d033919d3c176e95bbbcd0512375adb55276347 /app-text/lout/lout-3.31.ebuild
parentVersion bumped. (diff)
downloadgentoo-2-3db65f9ecbba97cb8d127d9240a691c4164e2a3c.tar.gz
gentoo-2-3db65f9ecbba97cb8d127d9240a691c4164e2a3c.tar.bz2
gentoo-2-3db65f9ecbba97cb8d127d9240a691c4164e2a3c.zip
Respecting CC variable, closes bug #243732
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-text/lout/lout-3.31.ebuild')
-rw-r--r--app-text/lout/lout-3.31.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/app-text/lout/lout-3.31.ebuild b/app-text/lout/lout-3.31.ebuild
index 81ea0d861f9f..afca9b967fbe 100644
--- a/app-text/lout/lout-3.31.ebuild
+++ b/app-text/lout/lout-3.31.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/lout/lout-3.31.ebuild,v 1.2 2008/01/22 21:32:11 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/lout/lout-3.31.ebuild,v 1.3 2009/07/23 23:02:13 vostorga Exp $
+
+inherit toolchain-funcs
IUSE="zlib doc"
@@ -13,11 +15,12 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
DEPEND="zlib? ( >=sys-libs/zlib-1.1.4 )"
+RDEPEND="${DEPEND}"
src_compile() {
local myconf
use zlib && myconf="$myconf PDF_COMPRESSION=1 ZLIB=-lz"
- emake BINDIR=/usr/bin \
+ emake CC="$(tc-getCC)" BINDIR=/usr/bin \
LIBDIR=/usr/share/lout \
DOCDIR=/usr/share/doc/${P} \
MANDIR=/usr/share/man/man1 \