summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/webgraph/files/webgraph-1.4.1-gentoo.patch')
-rw-r--r--dev-java/webgraph/files/webgraph-1.4.1-gentoo.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/webgraph/files/webgraph-1.4.1-gentoo.patch b/dev-java/webgraph/files/webgraph-1.4.1-gentoo.patch
new file mode 100644
index 000000000000..a4ad2d262a15
--- /dev/null
+++ b/dev-java/webgraph/files/webgraph-1.4.1-gentoo.patch
@@ -0,0 +1,36 @@
+--- build.xml.orig 2005-04-15 14:36:14.000000000 +0200
++++ build.xml 2005-04-15 14:38:45.000000000 +0200
+@@ -19,6 +19,14 @@
+ <property name="jar.base" value="/usr/share/java"/>
+ <property name="javadoc.base" value="/usr/share/javadoc"/>
+
++ <path id="compile.classpath">
++ <pathelement location="lib/jal.jar" />
++ <pathelement location="lib/colt.jar" />
++ <pathelement location="lib/fastutil.jar" />
++ <pathelement location="lib/gnu.getopt.jar" />
++ <pathelement location="lib/mg4j.jar" />
++ </path>
++
+ <!--
+ Groovy and Cobertura need different versions of asm.
+ Due to the delegation-based class-loading model used
+@@ -119,7 +127,9 @@
+ <target name="all" depends="jar,javadoc"/>
+
+ <target name="compile" depends="init" description="Compile standard sources (not test files)">
+- <javac srcdir="${src}" includes="**${subdir}" excludes="test/**" debug="on" optimize="on" destdir="${build}" source="1.4"/>
++ <javac srcdir="${src}" includes="**${subdir}" excludes="test/**" debug="on" optimize="on" destdir="${build}" source="1.4" target="1.4">
++ <classpath refid="compile.classpath" />
++ </javac>
+ </target>
+
+ <target name="jar" depends="compile" description="Creates jar (without tests)">
+@@ -144,6 +154,7 @@
+ <link href="${colt.apiurl}"/>
+ <link href="${jal.apiurl}"/>
+ <link href="${mg4j.apiurl}"/>
++ <classpath refid="compile.classpath" />
+ </javadoc>
+ </target>
+