[antlr] 21/87: * Fixed build of package to not create dirs outside of package root. * Fix #352203 for real by Build-Depending on autotools-dev and copying the needed files.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Oct 24 14:49:17 UTC 2017


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

ebourg-guest pushed a commit to branch master
in repository antlr.

commit c85b9f78155277e7d6a766219ec43db05f817d8b
Author: Michael Koch <konqueror at gmx.de>
Date:   Sat Feb 11 15:52:34 2006 +0000

    * Fixed build of package to not create dirs outside of package root.
    * Fix #352203 for real by Build-Depending on autotools-dev and copying the
      needed files.
---
 debian/changelog | 8 ++++++++
 debian/control   | 2 +-
 debian/rules     | 3 ++-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 61b8a89..02c92f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+antlr (2.7.6-4) unstable; urgency=low
+
+  * Fixed build of package to not create dirs outside of package root.
+  * Fix #352203 for real by Build-Depending on autotools-dev and copying the
+    needed files.
+
+ -- Michael Koch <konqueror at gmx.de>  Sat, 11 Feb 2006 16:42:55 +0000
+
 antlr (2.7.6-3) unstable; urgency=low
 
   * Provide static library compile with PIC (Closes: #351618).
diff --git a/debian/control b/debian/control
index d9ccf7f..667c6db 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: devel
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Arnaud Vandyck <avdyk at debian.org>, John Leuner <jewel at debian.org>, Michael Koch <konqueror at gmx.de>, Barry Hawkins <barry at bytemason.org>
-Build-Depends: debhelper (>= 4), kaffe, fastjar, classpath, jikes-classpath (>= 2:0.12-1), autotools-dev, gcj, libgcj-dev, python
+Build-Depends: debhelper (>= 4), kaffe, fastjar, classpath, jikes-classpath (>= 2:0.12-1), autotools-dev, gcj, libgcj-dev, python, autotools-dev
 Standards-Version: 3.6.2
 
 Package: antlr
diff --git a/debian/rules b/debian/rules
index 69fa332..835ace8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,7 @@ export DH_COMPAT=4
 configure: configure-stamp
 configure-stamp: autotools
 	dh_testdir
+	cp /usr/share/misc/config.* .
 	BOOTCLASSPATH=/usr/share/classpath/glibj.zip JAVAC=jikes-classpath CLASSPATH=`pwd` JAVA=kaffe \
 	./configure \
 		--prefix=/usr \
@@ -63,7 +64,7 @@ install: build
 	dh_installdirs
 	install -m755 lib/python/antlr/antlr.py debian/antlr/usr/lib/python2.3/site-packages
 	install -m755 lib/python/antlr/antlr.py debian/antlr/usr/lib/python2.4/site-packages
-	$(MAKE) -C lib/cpp install prefix=`pwd`/../../debian/libantlr-dev/usr
+	$(MAKE) -C lib/cpp install prefix=`pwd`/debian/libantlr-dev/usr
 	mv -f debian/libantlr-pic.a debian/libantlr-dev/usr/lib/
 	install -m755 scripts/antlr-config debian/libantlr-dev/usr/bin
 	install -m755 cantlr debian/cantlr/usr/bin

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



More information about the pkg-java-commits mailing list