diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-28 15:50:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-28 15:50:50 +0000 |
commit | dfe58f90bc001ab77e602e22ea5792b2778a95ce (patch) | |
tree | 194d2e8513d3f1a79c51b361d6ef3003ef1a2c7d | |
parent | New version on cpan; first update in a year (diff) | |
download | gentoo-2-dfe58f90bc001ab77e602e22ea5792b2778a95ce.tar.gz gentoo-2-dfe58f90bc001ab77e602e22ea5792b2778a95ce.tar.bz2 gentoo-2-dfe58f90bc001ab77e602e22ea5792b2778a95ce.zip |
use tc-getCC
-rw-r--r-- | sys-apps/dcron/dcron-2.9-r2.ebuild | 6 | ||||
-rw-r--r-- | sys-apps/dog/dog-1.7.ebuild | 25 | ||||
-rw-r--r-- | sys-apps/groff/groff-1.18.1-r4.ebuild | 8 | ||||
-rw-r--r-- | sys-apps/groff/groff-1.19.1-r1.ebuild | 8 |
4 files changed, 24 insertions, 23 deletions
diff --git a/sys-apps/dcron/dcron-2.9-r2.ebuild b/sys-apps/dcron/dcron-2.9-r2.ebuild index 95875c5af8b4..cc943f719ace 100644 --- a/sys-apps/dcron/dcron-2.9-r2.ebuild +++ b/sys-apps/dcron/dcron-2.9-r2.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/sys-apps/dcron/dcron-2.9-r2.ebuild,v 1.17 2004/10/05 12:59:59 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dcron/dcron-2.9-r2.ebuild,v 1.18 2004/10/28 15:47:44 vapier Exp $ -inherit eutils +inherit eutils toolchain-funcs MY_PV=29 DESCRIPTION="A cute little cron from Matt Dillon" @@ -33,7 +33,7 @@ src_unpack() { sed -i 's:VISUAL:EDITOR:g' crontab.{c,1} # remove gcc hardcode - sed -i "s:\(CC = \)gcc:\1${CC:-gcc}:" Makefile + sed -i "s:\(CC = \)gcc:\1$(tc-getCC):" Makefile } src_compile() { diff --git a/sys-apps/dog/dog-1.7.ebuild b/sys-apps/dog/dog-1.7.ebuild index 49d77d7efb33..3f0482424f1b 100644 --- a/sys-apps/dog/dog-1.7.ebuild +++ b/sys-apps/dog/dog-1.7.ebuild @@ -1,23 +1,25 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/dog-1.7.ebuild,v 1.12 2004/10/23 05:48:52 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dog/dog-1.7.ebuild,v 1.13 2004/10/28 15:49:18 vapier Exp $ DESCRIPTION="Dog is better than cat" -SRC_URI="http://jl.photodex.com/dog/${P}.tar.gz" HOMEPAGE="http://jl.photodex.com/dog/" +SRC_URI="http://jl.photodex.com/dog/${P}.tar.gz" -inherit ccc - -IUSE="" -SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 amd64 alpha ppc64 sparc ppc ppc-macos" +SLOT="0" +KEYWORDS="alpha amd64 ppc ppc64 ppc-macos sparc x86" +IUSE="" + DEPEND=">=sys-apps/sed-4" src_unpack() { unpack ${A} - cd ${S}; sed -i 's/^CFLAGS/#CFLAGS/' Makefile - is-ccc && sed -i "s/gcc/${CC:-gcc}/" Makefile + cd ${S} + sed -i \ + -e 's/^CFLAGS/#CFLAGS/' \ + -e "s/gcc/$(tc-getCC)/" \ + Makefile } src_compile() { @@ -25,8 +27,7 @@ src_compile() { } src_install() { - dobin dog + dobin dog || die doman dog.1 - dodoc README AUTHORS COPYING + dodoc README AUTHORS } - diff --git a/sys-apps/groff/groff-1.18.1-r4.ebuild b/sys-apps/groff/groff-1.18.1-r4.ebuild index 923142afc2df..70c8e974620b 100644 --- a/sys-apps/groff/groff-1.18.1-r4.ebuild +++ b/sys-apps/groff/groff-1.18.1-r4.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/sys-apps/groff/groff-1.18.1-r4.ebuild,v 1.7 2004/06/30 16:29:43 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.18.1-r4.ebuild,v 1.8 2004/10/28 15:50:50 vapier Exp $ -inherit eutils flag-o-matic +inherit eutils flag-o-matic toolchain-funcs MB_PATCH="${P/-/_}-7" DESCRIPTION="Text formatter used for man pages" @@ -54,8 +54,8 @@ src_compile() { local myconf="" # Fix problems with not finding g++ - [ -z "${CC}" ] && export CC="gcc" - [ -z "${CXX}" ] && export CXX="g++" + export CC="$(tc-getCC)" + export CXX="$(tc-getCXX)" case ${ARCH} in alpha) diff --git a/sys-apps/groff/groff-1.19.1-r1.ebuild b/sys-apps/groff/groff-1.19.1-r1.ebuild index 273eab28edbe..d0fa1d029147 100644 --- a/sys-apps/groff/groff-1.19.1-r1.ebuild +++ b/sys-apps/groff/groff-1.19.1-r1.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/sys-apps/groff/groff-1.19.1-r1.ebuild,v 1.4 2004/10/04 12:02:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.19.1-r1.ebuild,v 1.5 2004/10/28 15:50:50 vapier Exp $ -inherit eutils flag-o-matic gcc +inherit eutils flag-o-matic toolchain-funcs MB_PATCH="groff_1.18.1-7" #"${P/-/_}-7" DESCRIPTION="Text formatter used for man pages" @@ -43,8 +43,8 @@ src_compile() { local myconf= # Fix problems with not finding g++ - export CC="$(gcc-getCC)" - export CXX="$(gcc-getCXX)" + export CC="$(tc-getCC)" + export CXX="$(tc-getCXX)" case ${ARCH} in alpha) |