diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-10-26 13:08:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-10-26 13:08:50 +0000 |
commit | 644af0ce1f2343ea0f23b4b799bd4937f8f4208d (patch) | |
tree | 4776cbcfb72cf5d82854eea5cc080efa17ee64e6 /app-admin | |
parent | Added ~sparc keyword. (Manifest recommit) (diff) | |
download | gentoo-2-644af0ce1f2343ea0f23b4b799bd4937f8f4208d.tar.gz gentoo-2-644af0ce1f2343ea0f23b4b799bd4937f8f4208d.tar.bz2 gentoo-2-644af0ce1f2343ea0f23b4b799bd4937f8f4208d.zip |
dont hardcode CC to gcc
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/hddtemp/hddtemp-0.2.ebuild | 6 | ||||
-rw-r--r-- | app-admin/mon/mon-0.99.2-r1.ebuild | 13 |
2 files changed, 10 insertions, 9 deletions
diff --git a/app-admin/hddtemp/hddtemp-0.2.ebuild b/app-admin/hddtemp/hddtemp-0.2.ebuild index 4fe3be70a226..de0ced9fcd2f 100644 --- a/app-admin/hddtemp/hddtemp-0.2.ebuild +++ b/app-admin/hddtemp/hddtemp-0.2.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-admin/hddtemp/hddtemp-0.2.ebuild,v 1.24 2004/10/24 22:46:03 pylon Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.2.ebuild,v 1.25 2004/10/26 13:04:24 vapier Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="A simple utility to read the temperature of SMART capable hard drives" HOMEPAGE="http://www.guzu.net/linux/hddtemp.php" @@ -25,7 +25,7 @@ src_unpack() { # patch Makefile sed -i -e "s:^CFLAGS.*:CFLAGS=${CFLAGS} -DARCH_I386:" \ - -e "s:^CC.*:CC=gcc:" \ + -e "s:^CC.*:CC=$(tc-getCC):" \ Makefile } diff --git a/app-admin/mon/mon-0.99.2-r1.ebuild b/app-admin/mon/mon-0.99.2-r1.ebuild index 605dc4d412de..1004b0d44f9d 100644 --- a/app-admin/mon/mon-0.99.2-r1.ebuild +++ b/app-admin/mon/mon-0.99.2-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/mon/mon-0.99.2-r1.ebuild,v 1.16 2004/06/24 21:32:23 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/mon/mon-0.99.2-r1.ebuild,v 1.17 2004/10/26 13:08:50 vapier Exp $ + +inherit toolchain-funcs DESCRIPTION="highly configurable service monitoring daemon" HOMEPAGE="http://www.kernel.org/software/mon/" @@ -8,7 +10,7 @@ SRC_URI="mirror://kernel/software/admin/mon/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86 ppc sparc" +KEYWORDS="ppc sparc x86" IUSE="" DEPEND=">=dev-perl/Mon-0.9 @@ -17,15 +19,14 @@ DEPEND=">=dev-perl/Mon-0.9 src_compile() { cd ${S}/mon.d - make CC="gcc $CFLAGS" || die + make CC="$(tc-getCC) $CFLAGS" || die } src_install() { - exeinto /usr/sbin - doexe mon clients/mon* + dosbin mon clients/mon* || die "dosbin" insinto /usr/lib/mon/utils - doins utils/* + doins utils/* || die "doins" exeinto /usr/lib/mon/alert.d ; doexe alert.d/* exeinto /usr/lib/mon/mon.d ; doexe mon.d/*.monitor |