summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-26 18:04:37 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-26 18:04:37 +0000
commitbdcbeeb343a40ec6f82bdfd8b31257976850d078 (patch)
treedffab088e9a1ab6363d4f64696d1f69201a19752 /x11-wm/wmii
parentStable on amd64 wrt bug #325339 (diff)
downloadgentoo-2-bdcbeeb343a40ec6f82bdfd8b31257976850d078.tar.gz
gentoo-2-bdcbeeb343a40ec6f82bdfd8b31257976850d078.tar.bz2
gentoo-2-bdcbeeb343a40ec6f82bdfd8b31257976850d078.zip
Respect AR, and avoid running sed.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/wmii')
-rw-r--r--x11-wm/wmii/ChangeLog5
-rw-r--r--x11-wm/wmii/wmii-3.9.2-r1.ebuild9
2 files changed, 8 insertions, 6 deletions
diff --git a/x11-wm/wmii/ChangeLog b/x11-wm/wmii/ChangeLog
index 4d2015a2eb49..aae3cde7f4f7 100644
--- a/x11-wm/wmii/ChangeLog
+++ b/x11-wm/wmii/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-wm/wmii
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmii/ChangeLog,v 1.35 2010/06/26 16:58:30 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmii/ChangeLog,v 1.36 2010/06/26 18:04:37 ssuominen Exp $
+
+ 26 Jun 2010; Samuli Suominen <ssuominen@gentoo.org> wmii-3.9.2-r1.ebuild:
+ Respect AR, and avoid running sed.
*wmii-3.9.2-r1 (26 Jun 2010)
diff --git a/x11-wm/wmii/wmii-3.9.2-r1.ebuild b/x11-wm/wmii/wmii-3.9.2-r1.ebuild
index ebd9f540694c..397fa3b697ea 100644
--- a/x11-wm/wmii/wmii-3.9.2-r1.ebuild
+++ b/x11-wm/wmii/wmii-3.9.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmii/wmii-3.9.2-r1.ebuild,v 1.1 2010/06/26 16:58:30 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/wmii/wmii-3.9.2-r1.ebuild,v 1.2 2010/06/26 18:04:37 ssuominen Exp $
EAPI=2
inherit flag-o-matic multilib toolchain-funcs
@@ -40,14 +40,13 @@ pkg_setup() {
"DOC=/usr/share/doc/${PF}"
"ETC=/etc"
"LIBDIR=/usr/$(get_libdir)"
+ "CC=$(tc-getCC) -c"
+ "LD=$(tc-getCC)"
+ "AR=$(tc-getAR) crs"
"DESTDIR=${D}"
)
}
-src_prepare() {
- sed -i config.mk -e "/^\(CC\|LD\)/s|cc|$(tc-getCC)|g" || die "sed failed"
-}
-
src_compile() {
append-flags -I/usr/include/freetype2
emake "${mywmiiconf[@]}" || die