summaryrefslogtreecommitdiff
path: root/graphics/blender-devel/files/patch-SConstruct
blob: 13e53113a8787052966b8b2da5214879b6afe3f1 (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
--- SConstruct.orig	Tue Dec 20 18:56:12 2005
+++ SConstruct	Tue Sep 12 17:15:19 2006
@@ -735,7 +735,7 @@
 	openal_libpath = ['/usr/lib']
 	openal_include = ['/usr/include']
 	
-elif sys.platform=='freebsd4' or sys.platform=='freebsd5':
+elif sys.platform=='freebsd4' or sys.platform=='freebsd5' or sys.platform=='freebsd6' or sys.platform=='freebsd7':
 	print "Building for FreeBSD"
 	use_international = 'false'
 	use_gameengine = 'false'
@@ -773,13 +773,17 @@
 	jpeg_lib = ['jpeg']
 	jpeg_libpath = ['/usr/local/lib']
 	jpeg_include = ['/usr/local/include']
+	# Tiff Library information
+	tiff_lib = ['libtiff']
+	tiff_libpath = ['#../lib/windows/tiff/lib']
+	tiff_include = ['#../lib/windows/tiff/include']
 	# OpenGL library information
 	opengl_lib = ['GL', 'GLU']
 	opengl_static = ['/usr/lib/libGL.a', '/usr/lib/libGLU.a']
 	opengl_libpath = ['/usr/lib', '/usr/X11R6/lib']
 	opengl_include = ['/usr/X11R6/include/']
 	# SDL library information
-	sdl_env.ParseConfig ('sdl11-config --cflags --libs')
+	sdl_env.ParseConfig ('sdl-config --cflags --libs')
 	sdl_cflags = sdl_env.Dictionary()['CCFLAGS']
 	sdl_include = sdl_env.Dictionary()['CPPPATH']
 	sdl_libpath = ['/usr/local/include/SDL11']