[libjaxp1.3-java] 13/36: - now really fix the -source version

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sun Jun 18 23:29:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libjaxp1.3-java.

commit 58f6cbf7307d4bff92bb55134614b8e64b13ec91
Author: Matthias Klose <doko at debian.org>
Date:   Mon Oct 20 11:14:02 2008 +0000

    - now really fix the -source version
---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index b81b472..f8117e7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,6 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 
 JAVA_HOME := /usr/lib/jvm/default-java
-ANT_OPTS = -Dant.build.javac.source=1.4
 
 include /usr/share/gcj/debian_defaults
 ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
@@ -19,7 +18,7 @@ debian/build-stamp:
 	mkdir -p build/license
 
 	# An alternative would be to build the classes using GCJ
-	$(JAVA_HOME)/bin/javac -d build `find javax org -name \*.java`
+	$(JAVA_HOME)/bin/javac -source 1.4 -d build `find javax org -name \*.java`
 	cp LICENSE.*.txt README.*.txt build/license
 	cd build && $(JAVA_HOME)/bin/jar cmf ../manifest.commons \
 		jaxp-1.3.jar javax license org

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjaxp1.3-java.git



More information about the pkg-java-commits mailing list