summaryrefslogtreecommitdiff
path: root/graphics/yafaray/files/patch-freebsd-settings.py
blob: 454943db3bb723712f843900c7a3a7d14fd5a48b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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()