tags 424469 +patch
thanks

Hi!

I have fixed this problem with the patch attached.

However, note that the "Depends" NEEDS to be changed; I have not done
it since I thought the maintainer should decide, although java-common
would be OK now, I guess.

HTH.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
diff -urN libgetenv-java-1.0.0/debian/control libgetenv-java-1.0/debian/control
--- libgetenv-java-1.0.0/debian/control	2007-09-02 09:38:54.000000000 +0530
+++ libgetenv-java-1.0/debian/control	2007-09-02 09:39:21.000000000 +0530
@@ -1,7 +1,7 @@
 Source: libgetenv-java
 Priority: optional
 Maintainer: Mark Howard <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 5), jikes-gij (>=1:1.22-5.1), fastjar, gcj (>=3.2), classpath
+Build-Depends: debhelper (>> 5), java-gcj-compat-dev
 Section: libs
 Standards-Version: 3.7.2.0
 
diff -urN libgetenv-java-1.0.0/debian/rules libgetenv-java-1.0/debian/rules
--- libgetenv-java-1.0.0/debian/rules	2007-09-02 09:38:54.000000000 +0530
+++ libgetenv-java-1.0/debian/rules	2007-09-02 09:56:30.000000000 +0530
@@ -11,9 +11,10 @@
 build: build-stamp
 build-stamp: configure-stamp 
 	dh_testdir
-	jikes-gij uk/co/tigress/System.java
-	fastjar -c -f libgetenv-java.jar uk/co/tigress/*.class
-	gcc -c -fPIC -g -Wall -O2 -I/usr/include/classpath/ uk_co_tigress_System.c
+	export JAVA_HOME=/usr/lib/jvm/java-gcj
+	javac uk/co/tigress/System.java
+	jar -c -f libgetenv-java.jar uk/co/tigress/*.class
+	gcc -c -fPIC -g -Wall -O2 -I/usr/lib/jvm/java-gcj/include uk_co_tigress_System.c
 	gcc -shared -fPIC -o libgetenv-java.so uk_co_tigress_System.o
 	touch build-stamp
 

Reply via email to