summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2009-05-11 10:58:42 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2009-05-11 10:58:42 +0000
commit08ac14586ca6f09968765ad2bc74d3832d1558e1 (patch)
treeaaeb9b95a2fd851651996ade4fb776f88f55bc4f /eclass/gnustep-base.eclass
parentVersion bump, now with parallel make support! (diff)
downloadgentoo-2-08ac14586ca6f09968765ad2bc74d3832d1558e1.tar.gz
gentoo-2-08ac14586ca6f09968765ad2bc74d3832d1558e1.tar.bz2
gentoo-2-08ac14586ca6f09968765ad2bc74d3832d1558e1.zip
Parallel-make support was added in gnustep-make 2.2.0
Diffstat (limited to 'eclass/gnustep-base.eclass')
-rw-r--r--eclass/gnustep-base.eclass10
1 files changed, 6 insertions, 4 deletions
diff --git a/eclass/gnustep-base.eclass b/eclass/gnustep-base.eclass
index 4cce7f285128..363e95a92c95 100644
--- a/eclass/gnustep-base.eclass
+++ b/eclass/gnustep-base.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.9 2008/12/03 14:29:05 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.10 2009/05/11 10:58:42 voyageur Exp $
inherit eutils flag-o-matic
@@ -121,9 +121,11 @@ egnustep_env() {
GNUSTEP_USER_DEFAULTS_DIR="${T}"/Defaults \
GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
TAR_OPTIONS="${TAR_OPTIONS} --no-same-owner" \
- messages=yes \
- -j1 )
- # -j1 is needed as gnustep-make is not parallel-safe
+ messages=yes )
+
+ # Parallel-make support was added in gnustep-make 2.2.0
+ has_version "<gnustep-base/gnustep-make-2.2.0" \
+ && GS_ENV=( "${GS_ENV[@]}" "-j1" )
use debug \
&& GS_ENV=( "${GS_ENV[@]}" "debug=yes" ) \