summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/commons-httpclient/files/commons-httpclient-3.0.1-gentoo.patch')
-rw-r--r--dev-java/commons-httpclient/files/commons-httpclient-3.0.1-gentoo.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/dev-java/commons-httpclient/files/commons-httpclient-3.0.1-gentoo.patch b/dev-java/commons-httpclient/files/commons-httpclient-3.0.1-gentoo.patch
new file mode 100644
index 000000000000..cfb5355f5e1a
--- /dev/null
+++ b/dev-java/commons-httpclient/files/commons-httpclient-3.0.1-gentoo.patch
@@ -0,0 +1,47 @@
+--- build.xml.orig 2006-10-30 19:36:49.000000000 +0100
++++ build.xml 2006-10-30 19:49:01.000000000 +0100
+@@ -127,6 +127,7 @@
+ <mkdir dir="${build.home}/docs/api"/>
+ <mkdir dir="${build.home}/tests"/>
+ <mkdir dir="${build.home}/examples"/>
++ <mkdir dir="${build.home}/contrib"/>
+ </target>
+
+ <target name="static" depends="prepare"
+@@ -154,6 +155,13 @@
+ <include name="LICENSE.txt"/>
+ </metainf>
+ </jar>
++ <jar jarfile ="${dist.home}/commons-${component.name}-contrib.jar"
++ basedir ="${build.home}/contrib"
++ manifest ="${build.home}/conf/MANIFEST.MF">
++ <metainf dir="${dist.home}">
++ <include name="LICENSE.txt"/>
++ </metainf>
++ </jar>
+ <mkdir dir="${dist.home}/src"/>
+ <copy todir="${dist.home}/src" filtering="on">
+ <fileset dir="${source.home}"/>
+@@ -193,6 +201,13 @@
+ optimize ="${compile.optimize}">
+ <classpath refid="compile.classpath"/>
+ </javac>
++ <javac srcdir ="${source.home}/contrib"
++ destdir ="${build.home}/contrib"
++ debug ="${compile.debug}"
++ deprecation ="${compile.deprecation}"
++ optimize ="${compile.optimize}">
++ <classpath refid="compile.classpath"/>
++ </javac>
+ </target>
+
+ <target name="compile.tests" depends="compile"
+@@ -239,7 +254,7 @@
+ <mkdir dir="${dist.home}"/>
+ <mkdir dir="${dist.home}/docs"/>
+ <mkdir dir="${dist.home}/docs/api"/>
+- <javadoc sourcepath ="${source.home}/java"
++ <javadoc sourcepath ="${source.home}/java:${source.home}/contrib"
+ destdir ="${dist.home}/docs/api"
+ packagenames ="org.apache.commons.*"
+ author ="true"