ports/math/octave/files/patch-configure
Stephen Montgomery-Smith 1562e730f5 - Update math/octave to 5.1.0.
- Bump portrevision of unbroken octave-forge-* ports.
- Bump portrevision of math/dynare which uses library files from octave.
- Mark broken: octave-forge-(database|dicom|optim|fits|linear|linear|optim|
  parallel|signal|strings|struct|tisean|video).
- Broken optional dependencies in math/octave-forge to default to off.
- Bump portrevision of math/octave-forge.
2019-03-10 04:56:17 +00:00

16 lines
587 B
Text

--- configure.orig 2019-03-10 01:37:34 UTC
+++ configure
@@ -78809,6 +78809,13 @@ $as_echo_n "checking for include file <jni.h>... " >&6
JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/darwin"
fi
;;
+ freebsd*)
+ if test -n "$JAVA_CPPFLAGS"; then
+ JAVA_CPPFLAGS="-I${JAVA_CPPFLAGS} -I${JAVA_CPPFLAGS}/freebsd"
+ else
+ JAVA_CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/freebsd"
+ fi
+ ;;
*)
if test -n "$JAVA_CPPFLAGS"; then
JAVA_CPPFLAGS="-I${JAVA_CPPFLAGS} -I${JAVA_CPPFLAGS}/linux"