summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2014-12-04 01:17:15 +0000
committerIan Stakenvicius <axs@gentoo.org>2014-12-04 01:17:15 +0000
commite367270b1091e42dd235ccdcf2a601986a89e9ec (patch)
tree3e88d880bda94a5a9c8f67a1b920444e4708789b /eclass
parentfixed typo in mozconfig-v5.34 eclass comments (diff)
downloadgentoo-2-e367270b1091e42dd235ccdcf2a601986a89e9ec.tar.gz
gentoo-2-e367270b1091e42dd235ccdcf2a601986a89e9ec.tar.bz2
gentoo-2-e367270b1091e42dd235ccdcf2a601986a89e9ec.zip
mozconfig-v5.34.eclass - make glibc check based on elibc_glibc so that it works on prefix
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog7
-rw-r--r--eclass/mozconfig-v5.34.eclass5
2 files changed, 9 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 89fe8884e523..c63b983054dc 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for eclass directory
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1451 2014/12/04 00:51:30 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1452 2014/12/04 01:17:15 axs Exp $
+
+ 04 Dec 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
+ mozconfig-v5.34.eclass:
+ mozconfig-v5.34.eclass - make glibc check based on elibc_glibc so that it
+ works on prefix
04 Dec 2014; Ian Stakenvicius (_AxS_) <axs@gentoo.org>
mozconfig-v5.34.eclass:
diff --git a/eclass/mozconfig-v5.34.eclass b/eclass/mozconfig-v5.34.eclass
index b3c2d812d85f..0963d4e9a8f3 100644
--- a/eclass/mozconfig-v5.34.eclass
+++ b/eclass/mozconfig-v5.34.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.34.eclass,v 1.2 2014/12/04 00:51:30 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.34.eclass,v 1.3 2014/12/04 01:17:15 axs Exp $
#
# @ECLASS: mozconfig-v5.33.eclass
# @MAINTAINER:
@@ -205,7 +205,8 @@ mozconfig_config() {
mozconfig_annotate '' --disable-gconf
# Use jemalloc unless libc is not glibc >= 2.4
- if has_version ">=sys-libs/glibc-2.4"; then
+ # at this time the minimum glibc in the tree is 2.9 so we should be safe.
+ if use elibc_glibc; then
# We must force-enable jemalloc 3 via .mozconfig
echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die
mozconfig_annotate '' --enable-jemalloc