[commons-daemon] 03/05: Fix build failure on arm architectures by appending the ${jvm_includes}

Markus Koschany apo at moszumanska.debian.org
Thu Jan 5 00:04:50 UTC 2017


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

apo pushed a commit to branch master
in repository commons-daemon.

commit ccb7f63f4fb6388f671e8d4a354095319b698247
Author: Markus Koschany <apo at debian.org>
Date:   Thu Jan 5 00:51:13 2017 +0100

    Fix build failure on arm architectures by appending the ${jvm_includes}
    
    variable to CPPFLAGS.
    
    Closes: #849649
---
 debian/control | 2 +-
 debian/rules   | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 97e0c37..78cfc56 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Build-Depends: ant,
                autoconf,
                autotools-dev,
                debhelper (>= 9),
-               default-jdk,
+               default-jdk (>= 2:1.8),
                docbook-xsl,
                libcap-dev [linux-any],
                maven-repo-helper,
diff --git a/debian/rules b/debian/rules
index 3238160..dce8871 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,9 @@ VERSION		:= $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut
 
 NATIVE_SRC	:= src/native/unix
 
+include /usr/share/java/java_defaults.mk
+export DEB_CPPFLAGS_MAINT_APPEND = ${jvm_includes}
+
 %:
 	dh $@ --sourcedirectory=$(NATIVE_SRC) --buildsystem=autoconf --with autotools_dev
 

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



More information about the pkg-java-commits mailing list