summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-06-01 06:53:24 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-06-01 06:53:24 +0000
commit26c42a6f5b7a1b78e016e563fd1cdd79ed170d38 (patch)
treed12d1fc2df03369ed5d3552e0ea15a592e0aeef4 /games-strategy/glob2
parentVersion bump wrt #254582, thanks to Gary Richards. (diff)
downloadgentoo-2-26c42a6f5b7a1b78e016e563fd1cdd79ed170d38.tar.gz
gentoo-2-26c42a6f5b7a1b78e016e563fd1cdd79ed170d38.tar.bz2
gentoo-2-26c42a6f5b7a1b78e016e563fd1cdd79ed170d38.zip
just use the -j part of MAKEOPTS
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-strategy/glob2')
-rw-r--r--games-strategy/glob2/glob2-0.9.4.1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-strategy/glob2/glob2-0.9.4.1.ebuild b/games-strategy/glob2/glob2-0.9.4.1.ebuild
index a46ae65d8f1c..30f1dbb924d6 100644
--- a/games-strategy/glob2/glob2-0.9.4.1.ebuild
+++ b/games-strategy/glob2/glob2-0.9.4.1.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-strategy/glob2/glob2-0.9.4.1.ebuild,v 1.1 2009/03/26 20:38:32 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/glob2/glob2-0.9.4.1.ebuild,v 1.2 2009/06/01 06:53:24 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -28,7 +28,7 @@ DEPEND="${RDEPEND}
>=dev-util/scons-1"
src_compile() {
- local sconsopts=$(echo "${MAKEOPTS}" | sed -e "s/.*\(-j[0-9]\+\).*/\1/")
+ local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[0-9]\+\).*/\1/; p }")
scons \
${sconsopts} \