1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Fix build on aarch64, armv6, armv7.

PR:		229382
Submitted by:	tobik
This commit is contained in:
Alex Dupre 2018-06-29 13:37:54 +00:00
parent a7ef443108
commit 20e1f95178
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=473549
2 changed files with 11 additions and 4 deletions

View File

@ -15,10 +15,6 @@ COMMENT= Wrapper code to start/stop a Java application as a daemon
LICENSE= APACHE20
BROKEN_aarch64= fails to compile: 'jni_md.h' file not found
BROKEN_armv6= fails to compile: 'jni_md.h' file not found
BROKEN_armv7= fails to compile: 'jni_md.h' file not found
OPTIONS_DEFINE= DOCS
USE_JAVA= yes

View File

@ -0,0 +1,11 @@
--- configure.orig 2018-06-29 12:40:33 UTC
+++ configure
@@ -3504,7 +3504,7 @@ then
$as_echo "jni_md.h found in $JAVA_HOME/$JAVA_INC" >&6; }
INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/$JAVA_INC"
else
- INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/include/$supported_os"
+ INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/include/$JAVA_OS"
fi
if test "$GCC" = "yes"