/[gentoo-x86]/media-gfx/yafray/files/yafray-0.0.9-libdir.patch
Gentoo

Contents of /media-gfx/yafray/files/yafray-0.0.9-libdir.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jul 20 18:25:40 2006 UTC (8 years, 4 months ago) by lu_zero
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
fix+credits from bug
(Portage version: 2.1.1_pre2-r4)

1 --- yafray.old/linux-settings.py 2006-07-14 12:14:52.000000000 +0200
2 +++ yafray/linux-settings.py 2006-07-20 14:38:26.000000000 +0200
3 @@ -5,13 +5,15 @@
4
5 srcroot = os.getcwd()
6 prefix = ''
7 +libdif = ''
8
9 def init(args):
10 - global prefix
11 + global prefix, libdir
12 prefix = args.get('prefix','/usr/local')
13 + libdir = args.get('libdir','/lib')
14
15 -def get_libpath(args): return prefix+"/lib"
16 -def get_pluginpath(args): return prefix+"/lib/yafray"
17 +def get_libpath(args): return prefix+libdir
18 +def get_pluginpath(args): return prefix+libdir+"/yafray"
19 def get_binpath(args): return prefix+"/bin"
20 def get_confpath(args): return prefix+"/etc"
21 def get_cxxflags(args):
22 @@ -40,7 +42,7 @@
23 return False
24
25 def get_include(args): return [ exr.PATH + "/include/OpenEXR" ]
26 - def get_libpath(args): return [ exr.PATH + "/lib" ]
27 + def get_libpath(args): return [ exr.PATH + libdir ]
28 def get_libs(args): return ['IlmImf', 'Imath', 'Iex', 'Half']
29
30 class jpeg(globalinfo.library):

  ViewVC Help
Powered by ViewVC 1.1.20