summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/yafray/files/yafray-0.0.9-scons.patch')
-rw-r--r--media-gfx/yafray/files/yafray-0.0.9-scons.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-gfx/yafray/files/yafray-0.0.9-scons.patch b/media-gfx/yafray/files/yafray-0.0.9-scons.patch
new file mode 100644
index 000000000000..7d286a7c1097
--- /dev/null
+++ b/media-gfx/yafray/files/yafray-0.0.9-scons.patch
@@ -0,0 +1,25 @@
+--- yafray.old/SConstruct 2006-06-20 19:24:00.000000000 +0200
++++ yafray/SConstruct 2006-07-20 14:53:59.000000000 +0200
+@@ -3,6 +3,7 @@
+ import configio
+ import globalinfo
+
++destdir=ARGUMENTS.get('destdir','')
+ prefix=ARGUMENTS.get('prefix','/usr/local')
+
+ ficheros = {
+@@ -36,10 +37,10 @@
+
+ class config:
+ cxxflags = confer.get_cxxflags(A)
+- libpath = confer.get_libpath(A)
+- pluginpath = confer.get_pluginpath(A)
+- binpath = confer.get_binpath(A)
+- confpath = confer.get_confpath(A)
++ libpath = destdir + confer.get_libpath(A)
++ pluginpath = destdir + confer.get_pluginpath(A)
++ binpath = destdir + confer.get_binpath(A)
++ confpath = destdir + confer.get_confpath(A)
+ rootpath = Dir('.').srcnode().abspath
+
+ for name,val in confer.__dict__.items():