#! /bin/sh /usr/share/dpatch/dpatch-run
## 39_fix-contrib-benchmark-libs.dpatch by Jan-Pascal van Best <janpascal@vanbest.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad lucene2~/contrib/benchmark/build.xml lucene2/contrib/benchmark/build.xml
--- lucene2~/contrib/benchmark/build.xml	2009-08-20 09:34:18.000000000 +0200
+++ lucene2/contrib/benchmark/build.xml	2009-08-20 09:35:09.000000000 +0200
@@ -107,9 +107,13 @@
         <pathelement path="${common.dir}/build/contrib/highlighter/classes/java"/>
         <pathelement path="${common.dir}/build/contrib/memory/classes/java"/>
         <pathelement path="${common.dir}/build/contrib/fast-vector-highlighter/classes/java"/>
-    	<fileset dir="lib">
-    		<include name="**/*.jar"/>
-    	</fileset>
+        <pathelement path="/usr/share/java/commons-digester.jar"/>
+        <pathelement path="/usr/share/java/commons-collections.jar"/>
+        <pathelement path="/usr/share/java/commons-compress.jar"/>
+        <pathelement path="/usr/share/java/commons-logging.jar"/>
+        <pathelement path="/usr/share/java/commons-beanutils.jar"/>
+        <pathelement path="/usr/share/java/xercesImpl.jar"/>
+        <pathelement path="/usr/share/java/xml-apis.jar"/>
     </path>
     <path id="run.classpath">
         <path refid="classpath"/>
