summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-11-23 01:37:57 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-11-23 01:37:57 +0000
commit368e26478e612a086a11afc4610453a73ab575f2 (patch)
treee0810359ce3e1c9f6c79ff9a5e3fb0b75adcb450 /games-action/btanks
parentjust pass -j to scons from MAKEOPTS (diff)
downloadgentoo-2-368e26478e612a086a11afc4610453a73ab575f2.tar.gz
gentoo-2-368e26478e612a086a11afc4610453a73ab575f2.tar.bz2
gentoo-2-368e26478e612a086a11afc4610453a73ab575f2.zip
just pass -j to scons from MAKEOPTS
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-action/btanks')
-rw-r--r--games-action/btanks/btanks-0.8.7686.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-action/btanks/btanks-0.8.7686.ebuild b/games-action/btanks/btanks-0.8.7686.ebuild
index 32517fc5f5a2..6c1482d9c8af 100644
--- a/games-action/btanks/btanks-0.8.7686.ebuild
+++ b/games-action/btanks/btanks-0.8.7686.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-action/btanks/btanks-0.8.7686.ebuild,v 1.9 2009/05/30 06:39:49 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/btanks/btanks-0.8.7686.ebuild,v 1.10 2009/11/23 01:37:57 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -32,7 +32,7 @@ src_prepare() {
}
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 }")
scons \
${sconsopts} \