summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-11-23 01:35:29 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-11-23 01:35:29 +0000
commitff577e2367dbffc3ab9446f15f02c2837ea79163 (patch)
tree024b30eb516b063a29697a22156a35f1ec679101 /games-puzzle/pingus
parentjust pass -j to scons from MAKEOPTS (diff)
downloadgentoo-2-ff577e2367dbffc3ab9446f15f02c2837ea79163.tar.gz
gentoo-2-ff577e2367dbffc3ab9446f15f02c2837ea79163.tar.bz2
gentoo-2-ff577e2367dbffc3ab9446f15f02c2837ea79163.zip
just pass -j to scons from MAKEOPTS
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-puzzle/pingus')
-rw-r--r--games-puzzle/pingus/pingus-0.7.2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-puzzle/pingus/pingus-0.7.2.ebuild b/games-puzzle/pingus/pingus-0.7.2.ebuild
index cf75803f8e06..fb44c80eef81 100644
--- a/games-puzzle/pingus/pingus-0.7.2.ebuild
+++ b/games-puzzle/pingus/pingus-0.7.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.2.ebuild,v 1.10 2009/06/08 04:41:08 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-puzzle/pingus/pingus-0.7.2.ebuild,v 1.11 2009/11/23 01:35:29 mr_bones_ Exp $
EAPI=2
inherit eutils toolchain-funcs games
@@ -43,7 +43,7 @@ src_configure() {
}
src_compile() {
- local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[0-9]\+\).*/\1/; p }")
+ local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
[[ ${MAKEOPTS/-s/} != ${MAKEOPTS} ]] && sconsopts="${sconsopts} -s"
scons ${sconsopts} || die "scons failed"