File build-sanely.diff of Package virtuoso

--- binsrc/Makefile.am
+++ binsrc/Makefile.am
@@ -19,7 +19,7 @@
 #  
 #  
 
-SUBDIRS = dav mono virtuoso tests rdf_mappers driver maildrop sqldoc hosting bpel b3s tutorial yacutia samples vsp ws sync vspx vad cached_resources virtodbc virtoledb virtuoso_sink xddl VirtuosoClient.Net oat isparql jena sesame sesame2 sesame3 redland hibernate dbpedia rdb2rdf
+SUBDIRS = virtuoso driver tests
 
 
 # ----------------------------------------------------------------------
--- binsrc/virtuoso/Makefile.am
+++ binsrc/virtuoso/Makefile.am
@@ -41,7 +41,7 @@
 
 LIBS		+= @ZLIB_LIB@
 
-lib_LTLIBRARIES = libvirtuoso-t.la $(IODBC_LIBS) $(MONO_LIBS) $(IODBC_MONO_LIBS)
+noinst_LTLIBRARIES = libvirtuoso-t.la $(IODBC_LIBS) $(MONO_LIBS) $(IODBC_MONO_LIBS)
 bin_PROGRAMS = virtuoso-t $(IODBC_PROGS)
 
 noinst_SCRIPTS = virtuoso
--- configure.in
+++ configure.in
@@ -217,6 +217,23 @@
 	hostingdir=$libdir/virtuoso/hosting
 	;;
 
+  [[Oo]][[Pp]][[Ee]][[Nn]][[Ss]][[Uu]][[Ss]][[Ee]])	# openSUSE
+	virtuoso_layout=openSUSE
+	if test "x$prefix" = "xNONE"
+	then
+		prefix=/usr
+		localstatedir=/var
+	fi
+	vaddir=$datadir/virtuoso/vad
+	docdir=$datadir/doc/packages/virtuoso
+	htmldocdir=$datadir/doc/packages/virtuoso/html
+	pdfdocdir=$datadir/doc/packages/virtuoso/pdf
+	demodir=$localstatedir/lib/virtuoso/demo
+	dbdir=$localstatedir/lib/virtuoso/db
+	httprootdir=$localstatedir/lib/virtuoso/vsp
+	hostingdir=$libdir/virtuoso/hosting
+	;;
+
   [[Ff]][[Rr]][[Ee]][[Ee]][[Bb]][[Ss]][[Dd]])		# FreeBSD
 	virtuoso_layout=FreeBSD
 	if test "x$prefix" = "xNONE"
@@ -650,7 +667,7 @@
     AM_LDFLAGS="-g"
     CCDEBUG=""
 else
-    AM_LDFLAGS="-s"
+    AM_LDFLAGS="-g"
 fi
 
 
--- libsrc/Makefile.am
+++ libsrc/Makefile.am
@@ -19,7 +19,7 @@
 #  
 #  
 
-SUBDIRS = util zlib odbcsdk Dk Thread langfunc Wi plugin Tidy Xml.new JDBCDriverType4
+SUBDIRS = util zlib odbcsdk Dk Thread langfunc Wi plugin Tidy Xml.new
 
 noinst_HEADERS = Dk.h libutil.h
 
--- libsrc/Wi/sqlver.c
+++ libsrc/Wi/sqlver.c
@@ -28,7 +28,7 @@
 #include "sqlver.h"
 #include "wi.h"
 
-char *build_date = __DATE__;			/* eg. Jul 16 1996 */
+char *build_date = "??? ?? ????";			/* eg. Jul 16 1996 */
 
 /* IvAn/VC6port/000725 VC6 has a bug: you can't use /D NAME="\"string\"" cmd-line arg sometimes */
 #ifdef _MSC_VER
--- Makefile.am
+++ Makefile.am
@@ -23,13 +23,12 @@
 ACLOCAL_AMFLAGS 	= -I binsrc/config
 
 
-SUBDIRS = . docsrc libsrc binsrc appsrc
+SUBDIRS = . docsrc libsrc binsrc
 
 dist_doc_DATA = \
 	AUTHORS \
 	COPYING \
 	CREDITS \
-	INSTALL \
 	LICENSE \
 	NEWS \
 	README*
openSUSE Build Service is sponsored by