opnsense-ports/math/octave/files/patch-configure
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
571 B
Text

--- configure.orig 2014-01-21 15:52:33.000000000 -0700
+++ configure 2014-01-21 15:54:59.000000000 -0700
@@ -68380,6 +68380,13 @@
fi
JAVA_LIBS="-framework JavaVM"
;;
+ freebsd*)
+ if test -n "$JAVA_CPPFLAGS"; then
+ JAVA_CPPFLAGS="-I${JAVA_CPPFLAGS}/include -I${JAVA_CPPFLAGS}/include/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}/include -I${JAVA_CPPFLAGS}/include/linux"