summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jdbm/files/jdbm-1.0-buildfile.patch')
-rw-r--r--dev-java/jdbm/files/jdbm-1.0-buildfile.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/jdbm/files/jdbm-1.0-buildfile.patch b/dev-java/jdbm/files/jdbm-1.0-buildfile.patch
new file mode 100644
index 0000000..6852ca8
--- /dev/null
+++ b/dev-java/jdbm/files/jdbm-1.0-buildfile.patch
@@ -0,0 +1,47 @@
+--- build.xml.orig 2005-09-18 10:15:07.000000000 +0200
++++ build.xml 2005-09-18 10:19:47.000000000 +0200
+@@ -4,7 +4,7 @@
+ <target name="init">
+ <property name="project" value="jdbm" />
+ <property name="source" value="./src" />
+- <property name="main" value="${source}/main" />
++ <property name="main.src" value="${source}/main" />
+ <property name="etc" value="${source}/etc" />
+ <property name="build" value="build" />
+ <property name="classes" value="${build}/classes" />
+@@ -20,7 +20,7 @@
+ <property name="deprecation" value="true" />
+ <property file="VERSION" />
+ <property name="version" value="unspecified" description="default value; should never happen"/>
+- <property name="archive" value="${project}-${version}" />
++ <property name="archive" value="${project}" />
+ </target>
+
+
+@@ -68,8 +68,9 @@
+
+ <!-- Build all the sources with debug and deprecation -->
+ <target name="main" depends="prepare">
+- <javac srcdir="${main}" destdir="${classes}" excludes="**/package.html"
+- classpath="${classpath}" debug="on" deprecation="${deprecation}" source="1.3" target="1.3"/>
++ <javac srcdir="${source}/main" destdir="${classes}" excludes="**/package.html"
++ classpath="${classpath}" debug="on" deprecation="${deprecation}"
++ target="1.3" source="1.3" />
+ </target>
+
+ <!-- Same as main, but also cleans and additional targets -->
+@@ -135,10 +136,10 @@
+ <mkdir dir="${build}/doc/javadoc" />
+ <property name="copyright"
+ value="Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net" />
+- <javadoc sourcepath="${main}" destdir="${build}/doc/javadoc"
+- doctitle="JDBM JavaDoc" windowtitle="JDBM JavaDoc" bottom="${copyright}"
+- package="true" author="true" version="true" noindex="true"
+- packagenames="jdbm.*">
++ <javadoc sourcepath="${source}/main" destdir="${build}/doc/javadoc"
++ doctitle="JDBM JavaDoc" windowtitle="JDBM JavaDoc" bottom="${copyright}"
++ package="true" author="true" version="true" noindex="true"
++ packagenames="jdbm.*">
+ <link href="http://java.sun.com/products/jdk/1.2/docs/api"/>
+ <link href="http://www.junit.org/junit/javadoc/3.8"/>
+ </javadoc>