summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2013-03-24 19:08:58 +0000
committerJory Pratt <anarchy@gentoo.org>2013-03-24 19:08:58 +0000
commitc51419a7f67227841d175c09403326811751d231 (patch)
treebda210d8afcefa66c5567a693300a853e1e45929 /eclass/mozcoreconf-2.eclass
parentcleanup, version bump (diff)
downloadgentoo-2-c51419a7f67227841d175c09403326811751d231.tar.gz
gentoo-2-c51419a7f67227841d175c09403326811751d231.tar.bz2
gentoo-2-c51419a7f67227841d175c09403326811751d231.zip
Cleanup of obsolete options, address bug #446662,460592
Diffstat (limited to 'eclass/mozcoreconf-2.eclass')
-rw-r--r--eclass/mozcoreconf-2.eclass24
1 files changed, 5 insertions, 19 deletions
diff --git a/eclass/mozcoreconf-2.eclass b/eclass/mozcoreconf-2.eclass
index 30e79dec0768..39d1cbbcb0df 100644
--- a/eclass/mozcoreconf-2.eclass
+++ b/eclass/mozcoreconf-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.27 2013/01/16 19:02:10 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.28 2013/03/24 19:08:58 anarchy Exp $
#
# mozcoreconf.eclass : core options for mozilla
# inherit mozconfig-2 if you need USE flags
@@ -14,7 +14,6 @@ IUSE="${IUSE} custom-cflags custom-optimization"
RDEPEND="x11-libs/libXrender
x11-libs/libXt
- x11-libs/libXmu
>=sys-libs/zlib-1.1.4"
DEPEND="${RDEPEND}
@@ -95,6 +94,10 @@ moz_pkgsetup() {
export USE_PTHREADS=1
export ALDFLAGS=${LDFLAGS}
+ # nested configure scripts in mozilla products generate unrecognized options
+ # false positives when toplevel configure passes downwards.
+ export QA_CONFIGURE_OPTIONS=".*"
+
if [[ $(gcc-major-version) -eq 3 ]]; then
ewarn "Unsupported compiler detected, DO NOT file bugs for"
ewarn "outdated compilers. Bugs opened with gcc-3 will be closed"
@@ -108,11 +111,8 @@ mozconfig_init() {
declare enable_optimize pango_version myext x
declare XUL=$([[ ${PN} == xulrunner ]] && echo true || echo false)
declare FF=$([[ ${PN} == firefox ]] && echo true || echo false)
- declare IC=$([[ ${PN} == icecat ]] && echo true || echo false)
declare SM=$([[ ${PN} == seamonkey ]] && echo true || echo false)
declare TB=$([[ ${PN} == thunderbird ]] && echo true || echo false)
- declare EM=$([[ ${PN} == enigmail ]] && echo true || echo false)
-
####################################
#
@@ -128,9 +128,6 @@ mozconfig_init() {
*firefox)
cp browser/config/mozconfig .mozconfig \
|| die "cp browser/config/mozconfig failed" ;;
- *icecat)
- cp browser/config/mozconfig .mozconfig \
- || die "cp browser/config/mozconfig failed" ;;
seamonkey)
# Must create the initial mozconfig to enable application
: >.mozconfig || die "initial mozconfig creation failed"
@@ -139,9 +136,6 @@ mozconfig_init() {
# Must create the initial mozconfig to enable application
: >.mozconfig || die "initial mozconfig creation failed"
mozconfig_annotate "" --enable-application=mail ;;
- enigmail)
- cp mail/config/mozconfig .mozconfig \
- || die "cp mail/config/mozconfig failed" ;;
esac
####################################
@@ -254,14 +248,6 @@ mozconfig_init() {
! has_version ">=sys-libs/glibc-2.4" && mozconfig_annotate "we have old glibc" --disable-jemalloc
}
-makemake2() {
- for m in $(find ../ -name Makefile.in); do
- topdir=$(echo "$m" | sed -r 's:[^/]+:..:g')
- sed -e "s:@srcdir@:.:g" -e "s:@top_srcdir@:${topdir}:g" \
- < ${m} > ${m%.in} || die "sed ${m} failed"
- done
-}
-
# mozconfig_final: display a table describing all configuration options paired
# with reasons, then clean up extensions list
mozconfig_final() {