summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-08-08 23:27:44 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-08-08 23:27:44 +0000
commit39e957be35feef9fa7e05bd294613b7989e6e273 (patch)
treefa293b76d165b3b227e134df6d1c629fd33ec5a8 /games-simulation
parentstable x86, bug 280830 (diff)
downloadgentoo-2-39e957be35feef9fa7e05bd294613b7989e6e273.tar.gz
gentoo-2-39e957be35feef9fa7e05bd294613b7989e6e273.tar.bz2
gentoo-2-39e957be35feef9fa7e05bd294613b7989e6e273.zip
allow using a space in the -j arg in MAKEOPTS
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/lincity-ng/lincity-ng-2.0.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games-simulation/lincity-ng/lincity-ng-2.0.ebuild b/games-simulation/lincity-ng/lincity-ng-2.0.ebuild
index 16341c82d37b..77781e2c24a8 100644
--- a/games-simulation/lincity-ng/lincity-ng-2.0.ebuild
+++ b/games-simulation/lincity-ng/lincity-ng-2.0.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-simulation/lincity-ng/lincity-ng-2.0.ebuild,v 1.3 2009/05/30 06:25:10 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/lincity-ng/lincity-ng-2.0.ebuild,v 1.4 2009/08/08 23:27:44 mr_bones_ Exp $
EAPI=2
inherit eutils games
@@ -28,7 +28,7 @@ DEPEND="${RDEPEND}
dev-util/ftjam"
src_compile() {
- local jamopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[0-9]\+\).*/\1/; p }")
+ local jamopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
jam ${jamopts} || die "jam failed"
}