summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-02-02 16:52:16 +0000
committerJeroen Roovers <jer@gentoo.org>2012-02-02 16:52:16 +0000
commitb51b4b707ed781ec51774c30f3f9aeb05cae0eca (patch)
tree09b9dcdb91ba8c3af493d4cef47f890959840f1b /x11-misc/slock
parentDo not add -Wl,-z,now to LDFLAGS. Do not add -g to {C,LD}FLAGS. Set CC in src... (diff)
downloadgentoo-2-b51b4b707ed781ec51774c30f3f9aeb05cae0eca.tar.gz
gentoo-2-b51b4b707ed781ec51774c30f3f9aeb05cae0eca.tar.bz2
gentoo-2-b51b4b707ed781ec51774c30f3f9aeb05cae0eca.zip
Use tc-export instead of tc-getCC.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/slock')
-rw-r--r--x11-misc/slock/ChangeLog5
-rw-r--r--x11-misc/slock/slock-0.9-r1.ebuild9
2 files changed, 7 insertions, 7 deletions
diff --git a/x11-misc/slock/ChangeLog b/x11-misc/slock/ChangeLog
index 76a4416d03e0..973ddd403604 100644
--- a/x11-misc/slock/ChangeLog
+++ b/x11-misc/slock/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/slock
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.28 2012/02/02 16:42:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/ChangeLog,v 1.29 2012/02/02 16:52:16 jer Exp $
+
+ 02 Feb 2012; Jeroen Roovers <jer@gentoo.org> slock-0.9-r1.ebuild:
+ Use tc-export instead of tc-getCC.
*slock-0.9-r1 (02 Feb 2012)
diff --git a/x11-misc/slock/slock-0.9-r1.ebuild b/x11-misc/slock/slock-0.9-r1.ebuild
index 870af0eb1e62..403d31b15649 100644
--- a/x11-misc/slock/slock-0.9-r1.ebuild
+++ b/x11-misc/slock/slock-0.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-0.9-r1.ebuild,v 1.1 2012/02/02 16:41:38 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/slock/slock-0.9-r1.ebuild,v 1.2 2012/02/02 16:52:16 jer Exp $
EAPI=4
@@ -24,12 +24,9 @@ src_prepare() {
-e '/^CC/d' \
-e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \
|| die
-}
-
-src_compile() {
- emake CC=$(tc-getCC)
+ tc-export CC
}
src_install() {
- emake CC=$(tc-getCC) DESTDIR="${D}" PREFIX="/usr" install
+ emake DESTDIR="${D}" PREFIX="/usr" install
}