[med-svn] [Git][med-team/gdcm][master] d/rules: Add explicit java home path on arm*

Gert Wollny gitlab at salsa.debian.org
Wed May 16 00:04:16 BST 2018


Gert Wollny pushed to branch master at Debian Med / gdcm


Commits:
e458c167 by Gert Wollny at 2018-05-15T23:03:10+00:00
d/rules: Add explicit java home path on arm*

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,12 @@ ifeq ($(DEB_BUILD_ARCH),$(filter $(DEB_BUILD_ARCH),hppa hurd-i386))
   DEFAULT_JAVA_VERSION=1.5
 endif 
 
+# set JAVA path on arm, doesn't seem to find it otherwise
+ifeq ($(DEB_BUILD_ARCH),$(filter $(DEB_BUILD_ARCH),armhf armel arm64))
+export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-$(DEB_BUILD_ARCH)
+endif 
+
+
 # deduce documentation option (build-indep target)
 ifeq "" "$(filter %-doc,$(shell dh_listpackages))"
   BUILDDOC = OFF



View it on GitLab: https://salsa.debian.org/med-team/gdcm/commit/e458c1674ecd85e594700c1e37b25509954a64af

---
View it on GitLab: https://salsa.debian.org/med-team/gdcm/commit/e458c1674ecd85e594700c1e37b25509954a64af
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180515/05715041/attachment.html>


More information about the debian-med-commit mailing list