From f50d903fff740137e197c587feb29c375d0944b7 Mon Sep 17 00:00:00 2001 From: Tavis Ormandy Date: Tue, 26 Oct 2004 14:17:22 +0000 Subject: use toolchain-funcs to determine compiler --- app-shells/ksh/ChangeLog | 5 ++++- app-shells/ksh/ksh-93.20040229.ebuild | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'app-shells/ksh') diff --git a/app-shells/ksh/ChangeLog b/app-shells/ksh/ChangeLog index 9c5e0bcfa03a..b416a21c3577 100644 --- a/app-shells/ksh/ChangeLog +++ b/app-shells/ksh/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-shells/ksh # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ChangeLog,v 1.17 2004/10/23 10:43:36 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ChangeLog,v 1.18 2004/10/26 14:17:22 taviso Exp $ + + 26 Oct 2004; Tavis Ormandy ksh-93.20040229.ebuild: + use toolchain-funcs to determine compiler 23 Oct 2004; Akinori Hattori ksh-93.20040229.ebuild: add ~ia64, bug #68321. diff --git a/app-shells/ksh/ksh-93.20040229.ebuild b/app-shells/ksh/ksh-93.20040229.ebuild index 686d3871ac9a..2b0a6d08fab0 100644 --- a/app-shells/ksh/ksh-93.20040229.ebuild +++ b/app-shells/ksh/ksh-93.20040229.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ksh-93.20040229.ebuild,v 1.12 2004/10/23 10:43:36 hattya Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ksh-93.20040229.ebuild,v 1.13 2004/10/26 14:17:22 taviso Exp $ -inherit ccc eutils flag-o-matic +inherit ccc eutils flag-o-matic toolchain-funcs RELEASE="2004-02-29" DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)" @@ -48,7 +48,7 @@ src_compile() { # set the optimisations for the build process export CCFLAGS="${CFLAGS}" - cd ${S}; ./bin/package only make ast-ksh CC=${CC:-gcc} || die + cd ${S}; ./bin/package only make ast-ksh CC="$(tc-getCC)" || die # install the optional locale data. # heh, check out locale fudd, or piglatin :) -- cgit v1.2.3-65-gdbad