summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-05-30 06:39:49 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-05-30 06:39:49 +0000
commit6521f53b42a501510ad3da3efcf35dbe2d207d61 (patch)
tree69dfc09d93b4104f6b87c02390a0a8499f425547
parentRemove app-text/tetex from dependencies, bug 227443. (diff)
downloadgentoo-2-6521f53b42a501510ad3da3efcf35dbe2d207d61.tar.gz
gentoo-2-6521f53b42a501510ad3da3efcf35dbe2d207d61.tar.bz2
gentoo-2-6521f53b42a501510ad3da3efcf35dbe2d207d61.zip
only use the -j part of MAKEOPTS
(Portage version: 2.1.6.11/cvs/Linux i686)
-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 e814ba35f55e..32517fc5f5a2 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.8 2009/05/23 22:09:59 nyhm Exp $
+# $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 $
EAPI=2
inherit eutils games
@@ -32,7 +32,7 @@ src_prepare() {
}
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} \