Package: libjcommon-java
Version: 0.8.3-3
Severity: serious
Tags: patch
When trying to build 'libjcommon-java', I get the following error:
./debian_patch jcommon-0.8.3/ant/build.xml
make: execvp: ./debian_patch: Permission denied
make: *** [configure-stamp] Error 127
The attached patch fixes this problem.
Additionally, the patch changes the JAVA_HOME directory setting
in debian/rules so that it works for the standard Debian
j2sdk1.4-{sun,ibm,blackdown} packages which can be made using
make-jpkg from java-package.
Regards
Andreas Jochens
diff -urN ../tmp-orig/libjcommon-java-0.8.3/debian/rules ./debian/rules
--- ../tmp-orig/libjcommon-java-0.8.3/debian/rules 2005-04-27
21:29:00.173465470 +0200
+++ ./debian/rules 2005-04-27 21:28:56.952955062 +0200
@@ -4,10 +4,8 @@
#export DH_VERBOSE=1
# Build
-export JAVA_HOME=/usr/lib/j2se/1.4
-export JAVA=/usr/lib/j2se/1.4/bin/java
-export JAVAC=/usr/lib/j2se/1.4/bin/javac
-export CLASSPATH=/usr/lib/j2se/1.4/jre/lib/rt.jar
+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 LIBRARY = $(shell head -1 debian/control | sed 's/Source.
lib\(.*\)-java/\1/')
export VERSION = $(shell head -1 debian/changelog | sed
's/.*(\(.*\)-.*).*/\1/' )
@@ -20,7 +18,7 @@
dh_testdir
# Add here commands to configure the package.
tar xvzf $(LIBRARY)-$(VERSION).tar.gz
- ./debian_patch $(SRCDIR)/ant/build.xml
+ sh ./debian_patch $(SRCDIR)/ant/build.xml
touch configure-stamp
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]