Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
yafray
yafray-0.0.9-linux-settings64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yafray-0.0.9-linux-settings64.patch of Package yafray
--- linux-settings.py +++ linux-settings.py @@ -4,25 +4,28 @@ import globalinfo srcroot = os.getcwd() +destdir = '' prefix = '' def init(args): + global destdir global prefix + destdir = args.get('destdir','') prefix = args.get('prefix','/usr/local') -def get_libpath(args): return prefix+"/lib" -def get_pluginpath(args): return prefix+"/lib/yafray" -def get_binpath(args): return prefix+"/bin" -def get_confpath(args): return prefix+"/etc" +def get_libpath(args): return destdir+prefix+"/lib64" +def get_pluginpath(args): return destdir+prefix+"/lib64/yafray" +def get_binpath(args): return destdir+prefix+"/bin" +def get_confpath(args): return destdir+"/etc" def get_cxxflags(args): debug=args.get('debug',0) arch=args.get('arch','') tune=args.get('tune','') flags='-Wall -DHAVE_CONFIG_H -D_PTHREADS' if debug: - flags+=' -O3 -ffast-math -ggdb' + flags+=' $RPM_OPT_FLAGS -ffast-math -ggdb' else: - flags+=' -O3 -ffast-math -fomit-frame-pointer' + flags+=' $RPM_OPT_FLAGS -ffast-math -fomit-frame-pointer' if arch!='': flags+=' -march='+arch if tune!='': @@ -40,7 +43,7 @@ return False def get_include(args): return [ exr.PATH + "/include/OpenEXR" ] - def get_libpath(args): return [ exr.PATH + "/lib" ] + def get_libpath(args): return [ exr.PATH + "/lib64" ] def get_libs(args): return ['IlmImf', 'Imath', 'Iex', 'Half'] class jpeg(globalinfo.library):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor