Joost Soeterbroek efc27e2
diff -Nur clearsilver-0.10.3.orig/cgi/cgi.c clearsilver-0.10.3/cgi/cgi.c
Joost Soeterbroek efc27e2
--- clearsilver-0.10.3.orig/cgi/cgi.c	2006-03-13 18:04:52.000000000 +0100
Joost Soeterbroek efc27e2
+++ clearsilver-0.10.3/cgi/cgi.c	2006-03-13 19:17:12.000000000 +0100
Joost Soeterbroek efc27e2
@@ -641,7 +641,7 @@
Joost Soeterbroek efc27e2
 
Joost Soeterbroek efc27e2
   if ((debugger = hdf_get_value (cgi->hdf, "Config.Debugger", NULL)) == NULL)
Joost Soeterbroek efc27e2
   {
Joost Soeterbroek efc27e2
-    debugger = "/usr/local/bin/sudo /usr/local/bin/ddd -display %s %s %d";
Joost Soeterbroek efc27e2
+    debugger = "/usr/bin/sudo /usr/local/bin/ddd -display %s %s %d";
Joost Soeterbroek efc27e2
   }
Joost Soeterbroek efc27e2
 
Joost Soeterbroek efc27e2
   if (!pid)
Joost Soeterbroek efc27e2
diff -Nur clearsilver-0.10.3.orig/configure clearsilver-0.10.3/configure
Joost Soeterbroek efc27e2
--- clearsilver-0.10.3.orig/configure	2006-03-13 18:04:52.000000000 +0100
Joost Soeterbroek efc27e2
+++ clearsilver-0.10.3/configure	2006-03-13 19:20:09.000000000 +0100
Joost Soeterbroek efc27e2
@@ -6003,7 +6003,7 @@
Joost Soeterbroek efc27e2
 echo $ECHO_N "checking for python includes... $ECHO_C" >&6
Joost Soeterbroek efc27e2
   python_inc=no
Joost Soeterbroek efc27e2
   python_lib=no
Joost Soeterbroek efc27e2
-  python_search_path="/neo/opt /usr/local /usr /c"
Joost Soeterbroek efc27e2
+  python_search_path="/usr"
Joost Soeterbroek efc27e2
   python_versions="2.4 2.3 2.2 2.1 2.0 1.5 24 23 22 21 20 15"
Joost Soeterbroek efc27e2
   if test $cs_cv_python_path != "no" -a -x $cs_cv_python_path; then
Joost Soeterbroek efc27e2
     python_bin=$cs_cv_python_path
Joost Soeterbroek efc27e2
@@ -6299,7 +6299,8 @@
Joost Soeterbroek efc27e2
 done
Joost Soeterbroek efc27e2
 _ACJNI_FOLLOWED="$_cur"
Joost Soeterbroek efc27e2
 
Joost Soeterbroek efc27e2
-_JTOPDIR=`echo "$_ACJNI_FOLLOWED" | sed -e 's://*:/:g' -e 's:/[^/]*$::'`
Joost Soeterbroek efc27e2
+#_JTOPDIR=`echo "$_ACJNI_FOLLOWED" | sed -e 's://*:/:g' -e 's:/[^/]*$::'`
Joost Soeterbroek efc27e2
+_JTOPDIR="$java_path"
Joost Soeterbroek efc27e2
 case "$host_os" in
Joost Soeterbroek efc27e2
         darwin*)        _JTOPDIR=`echo "$_JTOPDIR" | sed -e 's:/[^/]*$::'`
Joost Soeterbroek efc27e2
                         _JINC="$_JTOPDIR/Headers";;
Joost Soeterbroek efc27e2
diff -Nur clearsilver-0.10.3.orig/imd/imdm.py clearsilver-0.10.3/imd/imdm.py
Joost Soeterbroek efc27e2
--- clearsilver-0.10.3.orig/imd/imdm.py	2006-03-13 18:04:52.000000000 +0100
Joost Soeterbroek efc27e2
+++ clearsilver-0.10.3/imd/imdm.py	2006-03-13 19:20:25.000000000 +0100
Joost Soeterbroek efc27e2
@@ -1,4 +1,4 @@
Joost Soeterbroek efc27e2
-#!/usr/local/bin/python
Joost Soeterbroek efc27e2
+#!/usr/bin/python
Joost Soeterbroek efc27e2
 #
Joost Soeterbroek efc27e2
 # imdm
Joost Soeterbroek efc27e2
 # 
Joost Soeterbroek efc27e2
diff -Nur clearsilver-0.10.3.orig/java-jni/Makefile clearsilver-0.10.3/java-jni/Makefile
Joost Soeterbroek efc27e2
--- clearsilver-0.10.3.orig/java-jni/Makefile	2006-03-13 18:04:52.000000000 +0100
Joost Soeterbroek efc27e2
+++ clearsilver-0.10.3/java-jni/Makefile	2006-03-13 19:21:50.000000000 +0100
Joost Soeterbroek efc27e2
@@ -37,14 +37,14 @@
Joost Soeterbroek efc27e2
 org_clearsilver_CS.h: $(NEO_UTIL_JAVA_JAR)
Joost Soeterbroek efc27e2
 	$(JAVAH) -classpath $(NEO_UTIL_JAVA_JAR) -jni org.clearsilver.CS
Joost Soeterbroek efc27e2
 
Joost Soeterbroek efc27e2
-CSTest.class: CSTest.java
Joost Soeterbroek efc27e2
+CSTest.class: CSTest.java $(NEO_UTIL_JAVA_JAR)
Joost Soeterbroek efc27e2
 	$(JAVAC) -classpath $(NEO_UTIL_JAVA_JAR) CSTest.java
Joost Soeterbroek efc27e2
 
Joost Soeterbroek efc27e2
 gold: CSTest.class
Joost Soeterbroek efc27e2
 	@/bin/sh -c "LD_LIBRARY_PATH=$(NEOTONIC_ROOT)/java-jni; export LD_LIBRARY_PATH; CLASSPATH=$(NEO_UTIL_JAVA_JAR):.; export CLASSPATH; $(JAVA_PATH)/bin/java CSTest" > javatest.gold
Joost Soeterbroek efc27e2
 	@echo "Generated gold files"
Joost Soeterbroek efc27e2
 
Joost Soeterbroek efc27e2
-test: CSTest.class
Joost Soeterbroek efc27e2
+test: CSTest.class $(NEO_UTIL_SO)
Joost Soeterbroek efc27e2
 	@echo "Running java test"
Joost Soeterbroek efc27e2
 	@failed=0; \
Joost Soeterbroek efc27e2
 	rm -f javatest.out; \
Joost Soeterbroek efc27e2
diff -Nur clearsilver-0.10.3.orig/ruby/Makefile clearsilver-0.10.3/ruby/Makefile
Joost Soeterbroek efc27e2
--- clearsilver-0.10.3.orig/ruby/Makefile	2006-03-13 18:04:52.000000000 +0100
Joost Soeterbroek efc27e2
+++ clearsilver-0.10.3/ruby/Makefile	2006-03-13 19:22:19.000000000 +0100
Joost Soeterbroek efc27e2
@@ -41,7 +41,7 @@
Joost Soeterbroek efc27e2
 
Joost Soeterbroek efc27e2
 
Joost Soeterbroek efc27e2
 install: all
Joost Soeterbroek efc27e2
-	$(RUBY) install.rb install
Joost Soeterbroek efc27e2
+	$(RUBY) install.rb install --prefix=$(DESTDIR)
Joost Soeterbroek efc27e2
 
Joost Soeterbroek efc27e2
 clean:
Joost Soeterbroek efc27e2
 	$(RM) ext/hdf/*.o ext/hdf/*.so
Joost Soeterbroek efc27e2
diff -Nur clearsilver-0.10.3.orig/scripts/document.py clearsilver-0.10.3/scripts/document.py
Joost Soeterbroek efc27e2
--- clearsilver-0.10.3.orig/scripts/document.py	2006-03-13 18:04:52.000000000 +0100
Joost Soeterbroek efc27e2
+++ clearsilver-0.10.3/scripts/document.py	2006-03-13 19:22:42.000000000 +0100
Joost Soeterbroek efc27e2
@@ -1,4 +1,4 @@
Joost Soeterbroek efc27e2
-#!/bin/env python
Joost Soeterbroek efc27e2
+#!/usr/bin/env python
Joost Soeterbroek efc27e2
 """
Joost Soeterbroek efc27e2
   document.py -- Simple script to generate manpages from C header
Joost Soeterbroek efc27e2
   files.  Looks for the following formatted C comments in the C header files: