diff options
author | Myckel Habets <myckel@sdf.org> | 2022-02-22 09:25:57 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-14 15:56:36 +0000 |
commit | 0dbb107e45d99a2ae60e26dfa9c0c40cdcfe85b2 (patch) | |
tree | 95acbf533132d679cde0f4fd4733f61399dec9e0 /eclass/mozcoreconf-v6.eclass | |
parent | www-client/seamonkey: version 2.53.11 beta 1 (diff) | |
download | gentoo-0dbb107e45d99a2ae60e26dfa9c0c40cdcfe85b2.tar.gz gentoo-0dbb107e45d99a2ae60e26dfa9c0c40cdcfe85b2.tar.bz2 gentoo-0dbb107e45d99a2ae60e26dfa9c0c40cdcfe85b2.zip |
mozcoreconf-v6.eclass remove --enable-extensions handling
It's been removed from www-client/seamonkey.
Signed-off-by: Myckel Habets <gentoo-bugs@habets-dobben.nl>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/mozcoreconf-v6.eclass')
-rw-r--r-- | eclass/mozcoreconf-v6.eclass | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/eclass/mozcoreconf-v6.eclass b/eclass/mozcoreconf-v6.eclass index 250f49bd58bd..c79854659f1f 100644 --- a/eclass/mozcoreconf-v6.eclass +++ b/eclass/mozcoreconf-v6.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # # @ECLASS: mozcoreconf-v6.eclass @@ -76,18 +76,6 @@ mozconfig_use_with() { mozconfig_annotate "$(use $1 && echo +$1 || echo -$1)" "${flag}" } -# @FUNCTION: mozconfig_use_extension -# @DESCRIPTION: -# enable or disable an extension based on a USE-flag -# -# Example: -# mozconfig_use_extension gnome gnomevfs -# => ac_add_options --enable-extensions=gnomevfs -mozconfig_use_extension() { - declare minus=$(use $1 || echo -) - mozconfig_annotate "${minus:-+}$1" --enable-extensions=${minus}${2} -} - moz_pkgsetup() { # Ensure we use C locale when building export LANG="C" @@ -289,12 +277,6 @@ mozconfig_final() { done echo "==========================================================" echo - - # Resolve multiple --enable-extensions down to one - declare exts=$(sed -n 's/^ac_add_options --enable-extensions=\([^ ]*\).*/\1/p' \ - .mozconfig | xargs) - sed -i '/^ac_add_options --enable-extensions/d' .mozconfig - echo "ac_add_options --enable-extensions=${exts// /,}" >> .mozconfig } _MOZCORECONF=1 |