[Lunar-commits] <moonbase> yafaray: Adjusting the BUILD to fix a failure if you are running a 3.x kernel.
Dennis `stumbles` Veatch
stumbles at lunar-linux.org
Fri Feb 17 16:02:51 CET 2012
commit c22a2fd933972c0f0412def87b3e9f631b846035
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date: Fri Feb 17 10:02:51 2012 -0500
yafaray: Adjusting the BUILD to fix a failure if you are running a 3.x kernel.
---
graphics/yafaray/BUILD | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/graphics/yafaray/BUILD b/graphics/yafaray/BUILD
index a7c9223..2086d3f 100644
--- a/graphics/yafaray/BUILD
+++ b/graphics/yafaray/BUILD
@@ -3,6 +3,12 @@
sedit "s:/usr/local:/usr:" SConstruct &&
sedit "s:/usr/local:/usr:" config/linux2-config.py &&
+# Some jiggling is needed if your are running kernels 3.x
+ if [[ `uname -r | cut -c 1` == "3" ]] ; then
+ cp config/linux2-config.py config/linux3-config.py &&
+ sedit "s:linux2:linux3:g" SConstruct
+ fi &&
+
scons arch=$CPU &&
prepare_install &&
More information about the Lunar-commits
mailing list