summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-10-12 19:05:00 -0400
committerMike Frysinger <vapier@gentoo.org>2015-10-12 20:14:30 -0400
commit0fbc73a54fa97508f5f8f1f7153d0726cc638241 (patch)
tree76e6a87a817f65e5eb0962434b0cf6eb3d5cdafd /sys-devel/gettext
parentsys-devel/gettext: bump EAPI to use subslots on libs #562584 (diff)
downloadgentoo-0fbc73a54fa97508f5f8f1f7153d0726cc638241.tar.gz
gentoo-0fbc73a54fa97508f5f8f1f7153d0726cc638241.tar.bz2
gentoo-0fbc73a54fa97508f5f8f1f7153d0726cc638241.zip
sys-devel/gettext: switch C++ disabling to new configure flag
Rather than clobber CXX ourselves, use the new --disable-c++ flag.
Diffstat (limited to 'sys-devel/gettext')
-rw-r--r--sys-devel/gettext/gettext-0.19.6-r1.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/gettext/gettext-0.19.6-r1.ebuild b/sys-devel/gettext/gettext-0.19.6-r1.ebuild
index 1427822359c..9a0ac980a1f 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