/[gentoo-x86]/eclass/mozcoreconf.eclass
Gentoo

Diff of /eclass/mozcoreconf.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/mozcoreconf.eclass,v 1.9 2006/06/10 16:19:54 swegener Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/mozcoreconf.eclass,v 1.10 2006/07/20 14:04:43 azarah Exp $
4# 4#
5# mozcoreconf.eclass : core options for mozilla 5# mozcoreconf.eclass : core options for mozilla
6# inherit mozconfig-2 if you need USE flags 6# inherit mozconfig-2 if you need USE flags
7 7
8inherit multilib flag-o-matic 8inherit multilib flag-o-matic
249mozconfig_use_extension() { 249mozconfig_use_extension() {
250 declare minus=$(useq $1 || echo -) 250 declare minus=$(useq $1 || echo -)
251 mozconfig_annotate "${minus:-+}$1" --enable-extensions=${minus}${2} 251 mozconfig_annotate "${minus:-+}$1" --enable-extensions=${minus}${2}
252} 252}
253 253
254# Add all the variables for building the final product.
255mozconfig_build_opts() {
256 echo "export BUILD_OFFICIAL=1" >>.mozconfig
257 echo "export MOZILLA_OFFICIAL=1" >>.mozconfig
258 echo "mk_add_options BUILD_OFFICIAL=1" >>.mozconfig
259 echo "mk_add_options MOZILLA_OFFICIAL=1" >>.mozconfig
260}
261
254# mozconfig_final: display a table describing all configuration options paired 262# mozconfig_final: display a table describing all configuration options paired
255# with reasons, then clean up extensions list 263# with reasons, then clean up extensions list
256mozconfig_final() { 264mozconfig_final() {
257 declare ac opt hash reason 265 declare ac opt hash reason
258 echo 266 echo

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20