lucene2 (2.9.2+ds1-1) 55_fix-contrib-db-je-libs.dpatch

Summary

 contrib/db/bdb-je/build.xml |   16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

    
download this patch

Patch contents

#! /bin/sh /usr/share/dpatch/dpatch-run
## 54_fix-contrib-db-je-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/db/bdb-je/build.xml lucene2/contrib/db/bdb-je/build.xml
--- lucene2~/contrib/db/bdb-je/build.xml	2009-08-19 20:22:41.000000000 +0200
+++ lucene2/contrib/db/bdb-je/build.xml	2009-08-20 08:58:15.000000000 +0200
@@ -8,7 +8,7 @@
   <property name="je.version" value="3.3.69" />
 
   <path id="je.jar">
-    <pathelement location="lib/je-${je.version}/lib/je-${je.version}.jar" />
+    <pathelement location="/usr/share/java/db-je.jar" />
   </path>
 
   <available classname="com.sleepycat.je.Database" property="je.jar.exists">
@@ -30,17 +30,5 @@
     <pathelement location="${build.dir}/classes/java"/>
   </path>
 
-  <target name="get-je-jar" unless="je.jar.exists">
-    <mkdir dir="lib" />
-    <get src="http://download.oracle.com/berkeley-db/je-${je.version}.zip"
-         dest="lib/je-${je.version}.zip" />
-    <unzip src="lib/je-${je.version}.zip" dest="lib">
-      <patternset>
-        <include name="je-${je.version}/lib/je-${je.version}.jar" />
-      </patternset>
-    </unzip>
-  </target>
-
-  <target name="check-and-get-je-jar" depends="get-je-jar" />
-  <target name="init" depends="contrib-build.init,check-and-get-je-jar" />
+  <target name="init" depends="contrib-build.init" />
 </project>