commit:     0fbc73a54fa97508f5f8f1f7153d0726cc638241
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 23:05:00 2015 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 00:14:30 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fbc73a5

sys-devel/gettext: switch C++ disabling to new configure flag

Rather than clobber CXX ourselves, use the new --disable-c++ flag.

 sys-devel/gettext/gettext-0.19.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gettext/gettext-0.19.6-r1.ebuild 
b/sys-devel/gettext/gettext-0.19.6-r1.ebuild
index 1427822..9a0ac98 100644
--- a/sys-devel/gettext/gettext-0.19.6-r1.ebuild
+++ b/sys-devel/gettext/gettext-0.19.6-r1.ebuild
@@ -54,6 +54,7 @@ multilib_src_configure() {
                --cache-file="${BUILD_DIR}"/config.cache
                --docdir="/usr/share/doc/${PF}"
 
+               $(use_enable cxx c++)
                $(use_enable cxx libasprintf)
                $(use_enable java)
                $(use_enable static-libs static)
@@ -71,7 +72,6 @@ multilib_src_configure() {
                        --enable-nls
                )
        fi
-       use cxx || export CXX=$(tc-getCC)
 
        local ECONF_SOURCE=${S}
        if ! multilib_is_native_abi ; then

Reply via email to