Package: gluegen2
Version: 2.3.2-3
Severity: wishlist
Tags: patch

Hi!

gluegen2 FTBFS on non-Linux arches because it (awkwardly) needs
definitions for every build architecture.

We can support kfreebsd (and potentially hurd when it gets openjdk)
quite easily though, just by treating them the same as Linux arches.
A patch is attached for this.  Thanks!

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 10.1-0-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
From: Steven Chamberlain <ste...@pyro.eu.org>
Date: Wed, 16 Dec 2015 20:13:01 +0000
Subject: treat GNU/kFreeBSD or Hurd just as Linux

--- a/make/gluegen-cpptasks-base.xml
+++ b/make/gluegen-cpptasks-base.xml
@@ -292,7 +292,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" />

Reply via email to