On 23/11/2013 22:59, Steven Chamberlain wrote: > * eclipse > for kfreebsd-amd64 and kfreebsd-i386.
I'm surprised that it builds. Last time I tried eclipse_3.8.1-4, a small patch was needed (see attachment). Any idea if this is still useful? I can't see why JAVA_HOME wouldn't work the same way for us. -- Robert Millan
=== modified file 'debian/patches/fix-gnu-kfreebsd-build.patch' --- debian/patches/fix-gnu-kfreebsd-build.patch 2013-06-16 11:04:02 +0000 +++ debian/patches/fix-gnu-kfreebsd-build.patch 2013-06-16 23:26:31 +0000 @@ -2,7 +2,7 @@ From: Jakub Adam <jakub.a...@ktknet.cz> Date: Sun, 17 Jun 2012 21:23:14 +0200 Subject: fix-gnu-kfreebsd-build -- don't test for valid env.JAVA_HOME (not supported on kFreeBSD and Hurd) +- don't test for valid env.JAVA_HOME (not supported on Hurd) - make org.eclipse.equinox.executable/library/gtk/build.sh aware of BSD and Hurd kernels - don't use PATH_MAX macro (not defined on GNU Hurd) @@ -19,7 +19,7 @@ diff --git a/build.xml b/build.xml index 1d65b7b..0197193 100644 --- a/build.xml +++ b/build.xml -@@ -8,9 +8,14 @@ +@@ -8,9 +8,13 @@ <property environment="env"/> <property name="jhome" value="${env.JAVA_HOME}"/> <condition property="javaHomeExists"> @@ -30,8 +30,7 @@ index 1d65b7b..0197193 100644 + <resourceexists> + <file file="${jhome}"/> + </resourceexists> -+ <!-- env.JAVA_HOME doesn't work on kFreeBSD and GNU Hurd --> -+ <os name="GNU/kFreeBSD"/> ++ <!-- env.JAVA_HOME doesn't work on GNU Hurd --> + <os name="GNU"/> + </or> </condition>