ports/java/openjdk11/files/patch-make_autoconf_libraries.m4
Greg Lewis 17ca9c16ac Fixes for include path, jshell, and process issues.
* Put MD specific include files (e.g. jni_md.h) in a subdirectory named
  'freebsd' rather than 'bsd'. [1]
* Remove the necessity to always have /usr/local/include in the header
  paths and linker paths.  This allows jshell to use the system iconv.h
  rather than the third party one and link correctly. [2]
* Fix getting process commands and arguments on FreeBSD.
* Bump PORTREVISION.

All fixes need forward porting to openjdk12.

PR:		236754 [1], 236759 [2]
Submitted by:	Kurt Miller [2]
2019-03-26 20:48:04 +00:00

13 lines
460 B
Text

--- make/autoconf/libraries.m4
+++ make/autoconf/libraries.m4
@@ -182,8 +182,8 @@ AC_DEFUN_ONCE([LIB_SETUP_MISC_LIBS],
if test "x$OPENJDK_TARGET_OS" = "xbsd"; then
if test "x$OPENJDK_TARGET_OS_ENV" = "xbsd.openbsd"; then
- ICONV_CFLAGS="-I$PACKAGE_PATH/include"
- ICONV_LDFLAGS="-L$PACKAGE_PATH/lib"
+ ICONV_CFLAGS="-I/usr/local/include"
+ ICONV_LDFLAGS="-L/usr/local/lib"
ICONV_LIBS=-liconv
else
ICONV_CFLAGS=