summaryrefslogtreecommitdiff
path: root/graphics/yafaray/files/patch-freebsd-settings.py
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-10-09 12:25:08 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-10-09 12:25:08 +0000
commit31e7820a1495fd86a6381c94d20dcc5e984f958c (patch)
tree7cdd6ffe3f49131da3d5647288d811d5a12e91b9 /graphics/yafaray/files/patch-freebsd-settings.py
parentFix build with WITH_PYTHON=yes on amd64 (diff)
- Update to 0.0.9
- Switch to scons PR: ports/104191 Submitted by: David Yeske<dyeske at yahoo.com> (maintainer)
Notes
Notes: svn path=/head/; revision=175075
Diffstat (limited to '')
-rw-r--r--graphics/yafaray/files/patch-freebsd-settings.py32
1 files changed, 32 insertions, 0 deletions
diff --git a/graphics/yafaray/files/patch-freebsd-settings.py b/graphics/yafaray/files/patch-freebsd-settings.py
new file mode 100644
index 000000000000..454943db3bb7
--- /dev/null
+++ b/graphics/yafaray/files/patch-freebsd-settings.py
@@ -0,0 +1,32 @@
+--- freebsd-settings.py.orig Sat Sep 23 00:21:17 2006
++++ freebsd-settings.py Sat Sep 23 00:21:29 2006
+@@ -10,6 +10,7 @@
+ global prefix
+ prefix = args.get('prefix','/usr/local')
+
++def get_include(args): return prefix+"/usr/local/include"
+ def get_libpath(args): return prefix+"/lib"
+ def get_pluginpath(args): return prefix+"/lib/yafray"
+ def get_binpath(args): return prefix+"/bin"
+@@ -46,9 +47,9 @@
+ class jpeg(globalinfo.library):
+ C_ID = 'JPEG'
+
+- def present(args): return os.path.exists("/usr/include/jpeglib.h")
+- def get_include(args): return []
+- def get_libpath(args): return []
++ def present(args): return os.path.exists("/usr/local/include/jpeglib.h")
++ def get_include(args): return ['/usr/local/include']
++ def get_libpath(args): return ['/usr/local/lib']
+ def get_libs(args): return ['jpeg']
+
+ class pthread(globalinfo.library):
+@@ -73,7 +74,7 @@
+ def present(args): return True
+ def get_include(args): return []
+ def get_libpath(args): return []
+- def get_libs(args): return ['dl']
++ def get_libs(args): return ['']
+
+ def derive_shared_env(common_env):
+ return common_env.Copy()