summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-03-09 12:09:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-03-09 12:09:32 +0000
commit54d102738a8fd9d87b65d516df9c24c98f39cb9c (patch)
treed850c21c95062ca605419d871f20adaee0ff1a6e /x11-terms/roxterm
parentVersion bump. (diff)
downloadgentoo-2-54d102738a8fd9d87b65d516df9c24c98f39cb9c.tar.gz
gentoo-2-54d102738a8fd9d87b65d516df9c24c98f39cb9c.tar.bz2
gentoo-2-54d102738a8fd9d87b65d516df9c24c98f39cb9c.zip
Stab the build system to respect full compiler name.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'x11-terms/roxterm')
-rw-r--r--x11-terms/roxterm/ChangeLog5
-rw-r--r--x11-terms/roxterm/roxterm-2.5.2.ebuild7
2 files changed, 8 insertions, 4 deletions
diff --git a/x11-terms/roxterm/ChangeLog b/x11-terms/roxterm/ChangeLog
index b691bf2ff171..67b8c18660ad 100644
--- a/x11-terms/roxterm/ChangeLog
+++ b/x11-terms/roxterm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-terms/roxterm
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/roxterm/ChangeLog,v 1.58 2012/03/08 15:10:10 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/roxterm/ChangeLog,v 1.59 2012/03/09 12:09:32 ssuominen Exp $
+
+ 09 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> roxterm-2.5.2.ebuild:
+ Stab the build system to respect full compiler name.
08 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> roxterm-2.5.2.ebuild,
metadata.xml:
diff --git a/x11-terms/roxterm/roxterm-2.5.2.ebuild b/x11-terms/roxterm/roxterm-2.5.2.ebuild
index 690de19a0b50..cf8b060fdb14 100644
--- a/x11-terms/roxterm/roxterm-2.5.2.ebuild
+++ b/x11-terms/roxterm/roxterm-2.5.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/roxterm/roxterm-2.5.2.ebuild,v 1.2 2012/03/08 15:09:27 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/roxterm/roxterm-2.5.2.ebuild,v 1.3 2012/03/09 12:09:32 ssuominen Exp $
EAPI=4
PYTHON_DEPEND="2:2.6"
-inherit gnome2-utils python
+inherit gnome2-utils python toolchain-funcs
DESCRIPTION="A terminal emulator designed to integrate with the ROX environment"
HOMEPAGE="http://roxterm.sourceforge.net/"
@@ -41,13 +41,14 @@ src_prepare() {
sed -i -e '/ctx.install_doc/s:COPYING ::' mscript.py || die
sed -i -e "/CFLAGS/s:-O2 -g:${CFLAGS}:" {maitch,mscript}.py || die
sed -i \
+ -e 's:gcc:${CC}:' \
-e "/LDFLAGS/s:'':'${LDFLAGS}':" \
-e 's:--mode=link:--mode=link --tag=CC:' \
maitch.py || die
}
src_configure() {
- local myconf=( --prefix=/usr --docdir=/usr/share/doc/${PF} --destdir="${D}" )
+ local myconf=( GCC="$(tc-getCC)" --prefix=/usr --docdir=/usr/share/doc/${PF} --destdir="${D}" )
use nls || myconf+=( --disable-gettext --disable-po4a --disable-translations )
./mscript.py configure "${myconf[@]}"
}