summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2008-12-30 20:47:27 +0000
committerChristoph Mende <angelos@gentoo.org>2008-12-30 20:47:27 +0000
commit2d155640dbcaa71daa76ef04d2136ff2e92906fc (patch)
treec0d1468456348fe85ad90c4333fd8354785a5c59 /app-shells
parentRevBump, ebuild written in EAPI-2 in order to resolve bloggers automatically,... (diff)
downloadgentoo-2-2d155640dbcaa71daa76ef04d2136ff2e92906fc.tar.gz
gentoo-2-2d155640dbcaa71daa76ef04d2136ff2e92906fc.tar.bz2
gentoo-2-2d155640dbcaa71daa76ef04d2136ff2e92906fc.zip
QA: Respect CC (bug 243704)
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/pdksh/ChangeLog7
-rw-r--r--app-shells/pdksh/pdksh-5.2.14-r4.ebuild18
2 files changed, 13 insertions, 12 deletions
diff --git a/app-shells/pdksh/ChangeLog b/app-shells/pdksh/ChangeLog
index 112f5f662c92..5497c739828f 100644
--- a/app-shells/pdksh/ChangeLog
+++ b/app-shells/pdksh/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-shells/pdksh
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/pdksh/ChangeLog,v 1.21 2007/05/15 09:27:31 bangert Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/pdksh/ChangeLog,v 1.22 2008/12/30 20:47:27 angelos Exp $
+
+ 30 Dec 2008; Christoph Mende <angelos@gentoo.org> pdksh-5.2.14-r4.ebuild:
+ QA: Respect CC (bug 243704)
15 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
diff --git a/app-shells/pdksh/pdksh-5.2.14-r4.ebuild b/app-shells/pdksh/pdksh-5.2.14-r4.ebuild
index 365378455170..62c2b79bc53a 100644
--- a/app-shells/pdksh/pdksh-5.2.14-r4.ebuild
+++ b/app-shells/pdksh/pdksh-5.2.14-r4.ebuild
@@ -1,22 +1,20 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/pdksh/pdksh-5.2.14-r4.ebuild,v 1.26 2007/04/08 13:27:59 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/pdksh/pdksh-5.2.14-r4.ebuild,v 1.27 2008/12/30 20:47:27 angelos Exp $
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="The Public Domain Korn Shell"
HOMEPAGE="http://www.cs.mun.ca/~michael/pdksh/"
-SRC_URI="ftp://ftp.cs.mun.ca/pub/pdksh/${P}.tar.gz
- ftp://ftp.cs.mun.ca/pub/pdksh/${P}-patches.1"
+SRC_URI="ftp://ftp.cs.mun.ca/pub/${PN}/${P}.tar.gz
+ ftp://ftp.cs.mun.ca/pub/${PN}/${P}-patches.1"
LICENSE="as-is"
SLOT="0"
KEYWORDS="alpha amd64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86"
IUSE=""
-DEPEND="virtual/libc
- sys-apps/coreutils
- !app-shells/ksh"
+DEPEND="!app-shells/ksh"
RESTRICT="test"
@@ -30,8 +28,8 @@ src_unpack() {
src_compile() {
echo 'ksh_cv_dev_fd=${ksh_cv_dev_fd=yes}' > config.cache
- econf || die "econf failed"
- emake || die "emake failed"
+ econf
+ emake CC="$(tc-getCC)" CPP="$(tc-getCPP)" || die "emake failed"
}
src_install() {