diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-07-08 11:36:00 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-07-08 11:36:00 +0000 |
commit | 77d5ea4165802e361f9c64abfbb1a19e7c28a280 (patch) | |
tree | ae14d264a29992903ded2ad41d4377d2c258d69b /eclass/mozcoreconf-2.eclass | |
parent | Convert every instance of hasq to has. (diff) | |
download | gentoo-2-77d5ea4165802e361f9c64abfbb1a19e7c28a280.tar.gz gentoo-2-77d5ea4165802e361f9c64abfbb1a19e7c28a280.tar.bz2 gentoo-2-77d5ea4165802e361f9c64abfbb1a19e7c28a280.zip |
Convert every instance of useq to use.
Diffstat (limited to 'eclass/mozcoreconf-2.eclass')
-rw-r--r-- | eclass/mozcoreconf-2.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/mozcoreconf-2.eclass b/eclass/mozcoreconf-2.eclass index a991951154ce..2b02cf52921d 100644 --- a/eclass/mozcoreconf-2.eclass +++ b/eclass/mozcoreconf-2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.20 2011/07/04 19:26:42 anarchy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.21 2011/07/08 11:36:00 ssuominen Exp $ # # mozcoreconf.eclass : core options for mozilla # inherit mozconfig-2 if you need USE flags @@ -38,7 +38,7 @@ mozconfig_annotate() { # => ac_add_options --enable-freetype2 # +truetype mozconfig_use_enable() { declare flag=$(use_enable "$@") - mozconfig_annotate "$(useq $1 && echo +$1 || echo -$1)" "${flag}" + mozconfig_annotate "$(use $1 && echo +$1 || echo -$1)" "${flag}" } # mozconfig_use_with: add a line to .mozconfig based on a USE-flag @@ -48,7 +48,7 @@ mozconfig_use_enable() { # => ac_add_options --with-gss-api=/usr/lib # +kerberos mozconfig_use_with() { declare flag=$(use_with "$@") - mozconfig_annotate "$(useq $1 && echo +$1 || echo -$1)" "${flag}" + mozconfig_annotate "$(use $1 && echo +$1 || echo -$1)" "${flag}" } # mozconfig_use_extension: enable or disable an extension based on a USE-flag @@ -57,7 +57,7 @@ mozconfig_use_with() { # mozconfig_use_extension gnome gnomevfs # => ac_add_options --enable-extensions=gnomevfs mozconfig_use_extension() { - declare minus=$(useq $1 || echo -) + declare minus=$(use $1 || echo -) mozconfig_annotate "${minus:-+}$1" --enable-extensions=${minus}${2} } |