diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-23 02:05:45 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-10-23 02:05:45 +0000 |
commit | 5893c0d5d66e49eb46de481e6162f2c33823fb3f (patch) | |
tree | f076c76d6e006d64815f26e4e6ecbcfc8f8f365c /app-admin | |
parent | Respect CC. (diff) | |
download | gentoo-2-5893c0d5d66e49eb46de481e6162f2c33823fb3f.tar.gz gentoo-2-5893c0d5d66e49eb46de481e6162f2c33823fb3f.tar.bz2 gentoo-2-5893c0d5d66e49eb46de481e6162f2c33823fb3f.zip |
Respect LDFLAGS, respect CC.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/longrun/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/longrun/files/0.9-makefile_cflags.patch | 2 | ||||
-rw-r--r-- | app-admin/longrun/longrun-0.9-r3.ebuild | 10 |
3 files changed, 14 insertions, 6 deletions
diff --git a/app-admin/longrun/ChangeLog b/app-admin/longrun/ChangeLog index 96e2c148901e..b7d1f0564a1e 100644 --- a/app-admin/longrun/ChangeLog +++ b/app-admin/longrun/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/longrun -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/longrun/ChangeLog,v 1.17 2007/03/27 16:11:44 betelgeuse Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/longrun/ChangeLog,v 1.18 2008/10/23 02:05:45 flameeyes Exp $ + + 23 Oct 2008; Diego Pettenò <flameeyes@gentoo.org> + files/0.9-makefile_cflags.patch, longrun-0.9-r3.ebuild: + Respect LDFLAGS, respect CC. 27 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> metadata.xml, longrun-0.9-r3.ebuild: diff --git a/app-admin/longrun/files/0.9-makefile_cflags.patch b/app-admin/longrun/files/0.9-makefile_cflags.patch index 0109d451ad59..a15229177881 100644 --- a/app-admin/longrun/files/0.9-makefile_cflags.patch +++ b/app-admin/longrun/files/0.9-makefile_cflags.patch @@ -7,7 +7,7 @@ diff -u longrun.old/Makefile longrun/Makefile longrun: longrun.c - gcc -DLOCALEDIR=\"$(LOCALEDIR)\" -g -O2 -W -Wall -o longrun longrun.c -+ gcc -DLOCALEDIR=\"$(LOCALEDIR)\" $(CFLAGS) -W -Wall -o longrun longrun.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -DLOCALEDIR=\"$(LOCALEDIR)\" -W -Wall -o longrun longrun.c README: longrun.1 groff -Tascii -man longrun.1 | col -bx > README diff --git a/app-admin/longrun/longrun-0.9-r3.ebuild b/app-admin/longrun/longrun-0.9-r3.ebuild index 8125de54f501..22cf3b185526 100644 --- a/app-admin/longrun/longrun-0.9-r3.ebuild +++ b/app-admin/longrun/longrun-0.9-r3.ebuild @@ -1,8 +1,8 @@ -# 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-admin/longrun/longrun-0.9-r3.ebuild,v 1.4 2007/03/27 16:11:44 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/longrun/longrun-0.9-r3.ebuild,v 1.5 2008/10/23 02:05:45 flameeyes Exp $ -inherit eutils linux-info +inherit eutils linux-info toolchain-funcs DESCRIPTION="A utility to control Transmeta's Crusoe and Efficeon processors" HOMEPAGE="http://freshmeat.net/projects/longrun/" @@ -43,6 +43,10 @@ src_unpack() { epatch "${FILESDIR}/${PV}-makefile_cflags.patch" } +src_compile() { + emake CC="$(tc-getCC)" || die "emake failed" +} + src_install() { make DESTDIR="${D}" install || die "make install failed" dodoc MAKEDEV-cpuid-msr |