summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Kaiser <nikai@nikai.net>2011-03-03 16:54:17 +0100
committerNicolas Kaiser <nikai@nikai.net>2011-03-03 16:54:17 +0100
commit930a758ea0d8ef27cec08e451f7f5eed5885a0ce (patch)
treeac808882deda8c40f4e57a971e6a25d9ed1b78ce /games-simulation
parentvegastrike: sync ebuilds, fix mesher (diff)
downloadnikai-930a758ea0d8ef27cec08e451f7f5eed5885a0ce.tar.gz
nikai-930a758ea0d8ef27cec08e451f7f5eed5885a0ce.tar.bz2
nikai-930a758ea0d8ef27cec08e451f7f5eed5885a0ce.zip
vegastrike: fix threads config
Diffstat (limited to 'games-simulation')
-rw-r--r--games-simulation/vegastrike/vegastrike-0.5.1_beta1.ebuild2
-rw-r--r--games-simulation/vegastrike/vegastrike-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/games-simulation/vegastrike/vegastrike-0.5.1_beta1.ebuild b/games-simulation/vegastrike/vegastrike-0.5.1_beta1.ebuild
index 62d556b..19bbc8e 100644
--- a/games-simulation/vegastrike/vegastrike-0.5.1_beta1.ebuild
+++ b/games-simulation/vegastrike/vegastrike-0.5.1_beta1.ebuild
@@ -117,7 +117,7 @@ src_compile() {
if use threads; then
sed -i \
-e "s!CPU_SMP:STRING=1!CPU_SMP:STRING=${CPU_SMP}!" \
- ${PN}_build/CMakeCache.txt
+ ${P}_build/CMakeCache.txt
fi
# FIXME: figure out why vssetup fails to build
diff --git a/games-simulation/vegastrike/vegastrike-9999.ebuild b/games-simulation/vegastrike/vegastrike-9999.ebuild
index 37cbb60..b44b998 100644
--- a/games-simulation/vegastrike/vegastrike-9999.ebuild
+++ b/games-simulation/vegastrike/vegastrike-9999.ebuild
@@ -111,7 +111,7 @@ src_compile() {
if use threads; then
sed -i \
-e "s!CPU_SMP:STRING=1!CPU_SMP:STRING=${CPU_SMP}!" \
- ${PN}_build/CMakeCache.txt
+ ${P}_build/CMakeCache.txt
fi
cmake-utils_src_make vssetup || die "Failed to build vssetup"