Respect C compiler choice, reported by Ian Delany in bug 385609.
authorHans de Graaff <graaff@gentoo.org>
Tue, 4 Oct 2011 18:48:17 +0000 (18:48 +0000)
committerHans de Graaff <graaff@gentoo.org>
Tue, 4 Oct 2011 18:48:17 +0000 (18:48 +0000)
Package-Manager: portage-2.1.10.11/cvs/Linux x86_64

app-editors/xemacs/ChangeLog
app-editors/xemacs/xemacs-21.4.22-r2.ebuild

index f38ca8937ba5edd0ab32241155cc81f9cfdba9ac..816e25da2e9f48562995a92ca9af626c79e31058 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for app-editors/xemacs
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.149 2011/09/26 18:28:02 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/ChangeLog,v 1.150 2011/10/04 18:48:17 graaff Exp $
+
+  04 Oct 2011; Hans de Graaff <graaff@gentoo.org> xemacs-21.4.22-r2.ebuild:
+  Respect C compiler choice, reported by Ian Delany in bug 385609.
 
   26 Sep 2011; Hans de Graaff <graaff@gentoo.org> xemacs-21.4.22-r2.ebuild,
   +files/xemacs-21.4.22-libpng15.patch:
index 9b762994077da4bcaaac9035763ca14f1a76182f..992d30ab02bed60df3c2b16dbac303e60cc3b318 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.22-r2.ebuild,v 1.5 2011/09/26 18:28:02 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.4.22-r2.ebuild,v 1.6 2011/10/04 18:48:17 graaff Exp $
 
 # Note: xemacs currently does not work with a hardened profile. If you
 # want to use xemacs on a hardened profile then compile with the
@@ -9,7 +9,7 @@
 EAPI="1"
 
 export WANT_AUTOCONF="2.1"
-inherit autotools eutils
+inherit autotools eutils toolchain-funcs
 
 DESCRIPTION="highly customizable open source text editor and application development system"
 HOMEPAGE="http://www.xemacs.org/"
@@ -181,6 +181,7 @@ src_compile() {
                $(use_with ldap ) \
                $(use_with eolconv file-coding ) \
                $(use_with pop ) \
+               --compiler=$(tc-getCC) \
                --prefix=/usr \
                --with-ncurses \
                --with-msw=no \