[no-libtagdb-and-ligsgml-compilation
Jonas Eschenburg <indyjo@gmx.de>**20080210180931] {
hunk ./debian/patches/00list 12
+no-libtagdb-and-ligsgml-compilation.dpatch
addfile ./debian/patches/no-libtagdb-and-ligsgml-compilation.dpatch
hunk ./debian/patches/no-libtagdb-and-ligsgml-compilation.dpatch 1
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## no-libtagdb-and-ligsgml-compilation.dpatch by  <jonas@Athlon>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad Io-2008-02-09~/addons/SGML/build.io Io-2008-02-09/addons/SGML/build.io
+--- Io-2008-02-09~/addons/SGML/build.io	2008-02-09 11:21:17.000000000 +0100
++++ Io-2008-02-09/addons/SGML/build.io	2008-02-10 19:08:01.000000000 +0100
+@@ -6,14 +6,6 @@
+ //	appendInstallCommand("port",    "(cd addons/SGML/source/libsgml && ./configure && make && make install)")
+ //	appendInstallCommand("urpmi",   "(cd addons/SGML/source/libsgml && ./configure && make && make install && ldconfig)")
+ 	
+-	if(platform != "windows",
+-		hasLib := libSearchPaths detect(path, Directory with(path) files detect(name containsSeq("libsgm")))
+-		if(hasLib == nil,
+-			writeln("No libsgml installed - attempting to compile and install")
+-			System system("cd addons/SGML/source/libsgml; ./configure; echo \"sudo make install\"; sudo make install")
+-		)
+-	)
+-	
+ 	clean := method(
+ 		resend
+ 		System system("cd addons/SGML/source/libsgml; make clean")
+diff -urNad Io-2008-02-09~/addons/TagDB/build.io Io-2008-02-09/addons/TagDB/build.io
+--- Io-2008-02-09~/addons/TagDB/build.io	2008-02-09 11:21:17.000000000 +0100
++++ Io-2008-02-09/addons/TagDB/build.io	2008-02-10 19:08:30.000000000 +0100
+@@ -4,15 +4,6 @@
+ 	appendHeaderSearchPath("/usr/local/include/tagdb")
+ 	appendHeaderSearchPath("/usr/include/qdbm")
+ 	
+-	if(platform != "windows",
+-		hasLib := libSearchPaths detect(path, Directory with(path) files detect(name containsSeq("libtagdb")))
+-		writeln("hasLib = ", hasLib)
+-		if(hasLib == nil,
+-			writeln("No libtagdb installed - attempting to compile and install")
+-			System system("cd addons/TagDB/source/tagdb; ./configure; echo \"sudo make install\"; sudo make install")
+-		)
+-	)
+-
+ 	clean := method(
+ 		resend
+ 		System system("cd addons/TagDB/source/tagdb; make clean")
}
