[antlr3.2] 07/46: antlr3 (3.0.1+dfsg-4) unstable; urgency=low
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Oct 26 20:24:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository antlr3.2.
commit 120313f75a45d5fe5c07b1735e6133d336d21a81
Author: Matthias Klose <doko at debian.org>
Date: Thu Oct 23 22:06:19 2008 +0000
antlr3 (3.0.1+dfsg-4) unstable; urgency=low
* Fix build failure for binary-arch only builds. Closes: #502660.
* Compile java files with -source 1.4.
-- Matthias Klose <doko at debian.org> Thu, 23 Oct 2008 01:32:35 +0200
---
debian/changelog | 7 +++++++
debian/rules | 11 ++++++++---
2 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0805f08..4201eac 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+antlr3 (3.0.1+dfsg-4) unstable; urgency=low
+
+ * Fix build failure for binary-arch only builds. Closes: #502660.
+ * Compile java files with -source 1.4.
+
+ -- Matthias Klose <doko at debian.org> Thu, 23 Oct 2008 01:32:35 +0200
+
antlr3 (3.0.1+dfsg-3) unstable; urgency=low
* antlr3: Depend on default-jre-headless.
diff --git a/debian/rules b/debian/rules
index 0d27f1d..2a1fc82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,14 +12,19 @@ ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
endif
JAVA_HOME := /usr/lib/jvm/default-java
-
+ANT_OPTS = -Dant.build.javac.source=1.4
DEB_JARS := ant-antlr antlr junit
build/antlr3::
- install -m 644 -D build/antlr.jar debian/antlr3/usr/share/java/antlr3-$(DEB_UPSTREAM_VERSION).jar
- dh_link -pantlr3 /usr/share/java/antlr3-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/antlr3.jar
+ install -m 644 -D build/antlr.jar \
+ debian/antlr3/usr/share/java/antlr3-$(DEB_UPSTREAM_VERSION).jar
+ dh_link -pantlr3 /usr/share/java/antlr3-$(DEB_UPSTREAM_VERSION).jar \
+ /usr/share/java/antlr3.jar
binary-post-install/antlr3-gcj:: binary-post-install/antlr3
+ [ -f debian/antlr3/usr/share/java/antlr3-$(DEB_UPSTREAM_VERSION).jar ] \
+ || install -m 644 -D build/antlr.jar \
+ debian/antlr3/usr/share/java/antlr3-$(DEB_UPSTREAM_VERSION).jar
rm -rf debian/antlr3-gcj/usr/share/doc/antlr3-gcj
ln -s antlr3 \
debian/antlr3-gcj/usr/share/doc/antlr3-gcj
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/antlr3.2.git
More information about the pkg-java-commits
mailing list