diff options
author | Armando Di Cianno <fafhrd@gentoo.org> | 2005-06-22 20:51:06 +0000 |
---|---|---|
committer | Armando Di Cianno <fafhrd@gentoo.org> | 2005-06-22 20:51:06 +0000 |
commit | 5e445e41dae8e9f09dfee4fb8fbee6876860f8ad (patch) | |
tree | daa35e19e71420e529cf5adf715d73d1f6b6be6c | |
parent | Added 'verbose' use flag to use.desc (to allow an increase in verbosity for b... (diff) | |
download | gentoo-2-5e445e41dae8e9f09dfee4fb8fbee6876860f8ad.tar.gz gentoo-2-5e445e41dae8e9f09dfee4fb8fbee6876860f8ad.tar.bz2 gentoo-2-5e445e41dae8e9f09dfee4fb8fbee6876860f8ad.zip |
Added use of 'verbose' use flag to optionally not hide compilation output
-rw-r--r-- | eclass/gnustep-funcs.eclass | 11 | ||||
-rw-r--r-- | eclass/gnustep.eclass | 13 |
2 files changed, 21 insertions, 3 deletions
diff --git a/eclass/gnustep-funcs.eclass b/eclass/gnustep-funcs.eclass index 5cba500d4719..fba849af7db0 100644 --- a/eclass/gnustep-funcs.eclass +++ b/eclass/gnustep-funcs.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-funcs.eclass,v 1.4 2005/03/18 02:47:00 fafhrd Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-funcs.eclass,v 1.5 2005/06/22 20:51:06 fafhrd Exp $ inherit toolchain-funcs eutils @@ -160,6 +160,9 @@ egnustep_make() { if use profile; then gs_make_opts="${gs_make_opts} profile=yes" fi + if use verbose; then + gs_make_opts="${gs_make_opts} messages=yes" + fi eval emake ${__GS_MAKE_EVAL} ${gs_make_opts} all || die "package make failed" else die "no Makefile found" @@ -195,6 +198,9 @@ egnustep_install() { if use profile; then gs_make_opts="${gs_make_opts} profile=yes" fi + if use verbose; then + gs_make_opts="${gs_make_opts} messages=yes" + fi eval emake ${__GS_MAKE_EVAL} ${gs_make_opts} install || die "package install failed" else die "no Makefile found" @@ -215,6 +221,9 @@ egnustep_doc() { if use profile; then gs_make_opts="${gs_make_opts} profile=yes" fi + if use verbose; then + gs_make_opts="${gs_make_opts} messages=yes" + fi eval emake ${__GS_MAKE_EVAL} ${gs_make_opts} all || die "doc make failed" eval emake ${__GS_MAKE_EVAL} ${gs_make_opts} install || die "doc install failed" #XXX: I have no idea why this is called by ebuilds that don't have 'doc' in the diff --git a/eclass/gnustep.eclass b/eclass/gnustep.eclass index bb3c67deda31..55fcb7e4116b 100644 --- a/eclass/gnustep.eclass +++ b/eclass/gnustep.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep.eclass,v 1.26 2005/06/06 07:08:19 fafhrd Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep.eclass,v 1.27 2005/06/22 20:51:06 fafhrd Exp $ inherit gnustep-funcs eutils flag-o-matic @@ -9,7 +9,16 @@ INHERITED="$INHERITED $ECLASS" DESCRIPTION="EClass designed to facilitate building GNUstep Apps, Frameworks, and Bundles on Gentoo." -IUSE="debug profile" +########################################################################### +# IUSE variables across all GNUstep packages +IUSE="debug profile verbose" +if use debug; then + RESTRICT="nostrip" +fi +if use profile; then + RESTRICT="nostrip" +fi +########################################################################### ########################################################################### # Internal variables |