Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Rev 2 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_master.in.dpatch by  <magnus@kibibyte.se>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Add local site-pike directories to master.pike.in

@DPATCH@
diff -urNad trunk~/lib/master.pike.in trunk/lib/master.pike.in
--- trunk~/lib/master.pike.in   2007-01-01 01:28:04.000000000 +0100
+++ trunk/lib/master.pike.in    2007-09-26 09:26:21.000000000 +0200
@@ -1115,6 +1115,14 @@
   include_prefix = "¤include_prefix¤";
 #endif
   system_module_path=pike_module_path;
+
+  // Debian paths
+  add_include_path("/usr/local/include/pike");
+  add_include_path("/usr/local/include/pike"+__REAL_MAJOR__+"."+__REAL_MINOR__);
+  add_module_path("/usr/local/lib/pike/site_pike");
+  add_module_path("/usr/local/lib/pike"+__REAL_MAJOR__+"."+__REAL_MINOR__+"/site_pike");
+  add_module_path("/usr/local/share/pike/site_pike");
+  add_module_path("/usr/local/share/pike"+__REAL_MAJOR__+"."+__REAL_MINOR__+"/site_pike");
 }