summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}