Package: commons-httpclient
Version: 2.0a1+20020904-2
Severity: wishlist
Tags: patch
Please change the Build-Depends to 'j2sdk1.4' instead of 'j2sdk1.3'.
For some architectures (e.g. amd64 and ppc64) there is no j2sdk1.3.
Please also change debian/rules to recognize the correct JAVA_HOME
directories from the {sun,ibm,blackdown}-j2sdk1.4 packages which
are created by make-jpkg from java-package.
Regards
Andreas Jochens
diff -urN ../tmp-orig/commons-httpclient-2.0a1+20020904/debian/control
./debian/control
--- ../tmp-orig/commons-httpclient-2.0a1+20020904/debian/control
2005-04-28 09:39:06.946823654 +0200
+++ ./debian/control 2005-04-28 09:37:17.967391046 +0200
@@ -2,7 +2,7 @@
Section: contrib/libs
Priority: optional
Maintainer: Stephen Peters <[EMAIL PROTECTED]>
-Build-Depends-Indep: debhelper (>> 3.0.0), j2sdk1.3, libcommons-logging-java,
ant
+Build-Depends-Indep: debhelper, j2sdk1.4, libcommons-logging-java, ant
Standards-Version: 3.5.2
Package: libcommons-httpclient-java
diff -urN ../tmp-orig/commons-httpclient-2.0a1+20020904/debian/rules
./debian/rules
--- ../tmp-orig/commons-httpclient-2.0a1+20020904/debian/rules 2005-04-28
09:39:06.947823502 +0200
+++ ./debian/rules 2005-04-28 09:38:57.626240598 +0200
@@ -13,9 +13,8 @@
JARFILE=commons-httpclient-${VERSION}.jar
BUILDFILE=build.xml
-# for Blackdown JDK (you shuld add j2sdk1.3 at Build-Depends)
-# And package should go to contrib section even if it's own license is free.
-export JAVA_HOME=/usr/lib/j2sdk1.3
+JAVA_HOME_DIRS=/usr/lib/j2sdk1.4-sun /usr/lib/j2sdk1.4-ibm
/usr/lib/j2sdk1.4-blackdown
+export JAVA_HOME ?= $(shell for j in $(JAVA_HOME_DIRS); do [ -d "$$j" ] &&
echo $$j && exit 0; done)
export CLASSPATH=.:${JAVA_HOME}/lib/tools.jar:${JAVA_HOME}/jre/lib/rt.jar
export JAVAC=${JAVA_HOME}/bin/javac
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]