[gluegen2] 01/02: add patch to treat Hurd and kFreeBSD as Linux

Tony Mancill tmancill at moszumanska.debian.org
Fri Dec 25 06:12:38 UTC 2015


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

tmancill pushed a commit to branch master
in repository gluegen2.

commit ec69ea253517da25b207b3ca0ebd02466a02ac60
Author: tony mancill <tmancill at debian.org>
Date:   Thu Dec 24 22:11:31 2015 -0800

    add patch to treat Hurd and kFreeBSD as Linux
    
    Addresses FTBFS on non-Linux arches.  Closes: #808179.
---
 make/gluegen-cpptasks-base.xml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/make/gluegen-cpptasks-base.xml b/make/gluegen-cpptasks-base.xml
index 01d6146..5d94045 100755
--- a/make/gluegen-cpptasks-base.xml
+++ b/make/gluegen-cpptasks-base.xml
@@ -285,7 +285,12 @@
       <os name="Android" />
     </condition>
     <condition property="isLinux">
-      <os name="Linux" />
+      <or>
+        <os name="Linux" />
+        <!-- treat GNU/kFreeBSD or Hurd just as Linux -->
+        <os name="GNU/kFreeBSD" />
+        <os name="GNU" />
+      </or>
     </condition>
     <condition property="isSolaris">
       <os name="SunOS" />

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



More information about the pkg-java-commits mailing list