SOURCES: aqsis-scons-paths.patch - Hardcoded paths removed

beorn beorn at pld-linux.org
Sat Mar 17 11:55:11 CET 2007


Author: beorn                        Date: Sat Mar 17 10:55:11 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- Hardcoded paths removed

---- Files affected:
SOURCES:
   aqsis-scons-paths.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/aqsis-scons-paths.patch
diff -u SOURCES/aqsis-scons-paths.patch:1.1 SOURCES/aqsis-scons-paths.patch:1.2
--- SOURCES/aqsis-scons-paths.patch:1.1	Sun Mar 11 17:13:31 2007
+++ SOURCES/aqsis-scons-paths.patch	Sat Mar 17 11:55:05 2007
@@ -6,7 +6,7 @@
  env.AppendUnique(CPPPATH = ['$boost_include_path'])
  
 -env.AppendUnique(CPPDEFINES=[('DEFAULT_PLUGIN_PATH', '\\"' + env.Dir('${PLUGINDIR}').abspath + '\\"')])
-+env.AppendUnique(CPPDEFINES=[('DEFAULT_PLUGIN_PATH', '\\"/usr/lib/aqsis/plugins\\"')])
++env.AppendUnique(CPPDEFINES=[('DEFAULT_PLUGIN_PATH', '\\"@LIBDIR@/aqsis/plugins\\"')])
  
  #
  # Enable MP dumping mode if specified
@@ -19,8 +19,8 @@
  # getting a running program's install path on unix-like systems.
 -env.AppendUnique(CPPDEFINES=[('DEFAULT_RC_PATH', '\\"' + env.Dir('$SYSCONFDIR').abspath + '\\"')])
 -env.AppendUnique(CPPDEFINES=[('DEFAULT_SHADER_PATH', '\\"' + env.Dir('$SHADERDIR').abspath + '\\"')])
-+env.AppendUnique(CPPDEFINES=[('DEFAULT_RC_PATH', '\\"/etc/aqsis\\"')])
-+env.AppendUnique(CPPDEFINES=[('DEFAULT_SHADER_PATH', '\\"/usr/share/aqsis/shaders\\"')])
++env.AppendUnique(CPPDEFINES=[('DEFAULT_RC_PATH', '\\"@CONFDIR@\\"')])
++env.AppendUnique(CPPDEFINES=[('DEFAULT_SHADER_PATH', '\\"@SHAREDIR@/shaders\\"')])
  env.Replace(SHLIB_VERSION_SUFFIX = '.%d.%d' %(version.major, version.minor))
  env.AppendUnique(SHLINKFLAGS=['-Wl,-soname=${TARGET.file}.%d' %version.major])
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/aqsis-scons-paths.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list