summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-23 02:05:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-10-23 02:05:45 +0000
commit027db26468fa691bffe814c398be2040f955386d (patch)
treeb445298c132b757cfd91bc11b425093c1cae4116 /app-admin/longrun
parentRespect CC. (diff)
downloadhistorical-027db26468fa691bffe814c398be2040f955386d.tar.gz
historical-027db26468fa691bffe814c398be2040f955386d.tar.bz2
historical-027db26468fa691bffe814c398be2040f955386d.zip
Respect LDFLAGS, respect CC.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64
Diffstat (limited to 'app-admin/longrun')
-rw-r--r--app-admin/longrun/ChangeLog8
-rw-r--r--app-admin/longrun/files/0.9-makefile_cflags.patch2
-rw-r--r--app-admin/longrun/longrun-0.9-r3.ebuild10
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