Created attachment 196256 [details] Fix jikes on FreeBSD 11.2 with USES=autoreconf jikes currently fails to build on FreeBSD 11.2 during the configure step: checking whether the compiler implements namespaces... yes checking whether the compiler supports ISO C++ standard library... no checking whether the compiler recognizes bool as a built-in type... yes checking for VC++ style set_new_handler... no checking for standard set_new_handler... no configure: error: Could not find standard set_new_handler function ===> Script "configure" failed unexpectedly. Please report the problem to ports@FreeBSD.org [maintainer] and attach the "/wrkdirs/usr/ports/java/jikes/work/jikes-1.22/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 After reading config.log, It looks like that the pre-generated configure script is too old to work with the current version of the compiler, so the easiest fix is to add USES=autoreconf to generate the configure script with newer autoconf. I think this should also fix build on FreeBSD 12, but I currently don't have a FreeBSD 12 system to test so I don't remove the BROKEN_FreeBSD_12 line.
A commit references this bug: Author: tobik Date: Sun Aug 26 10:10:25 UTC 2018 New revision: 478118 URL: https://svnweb.freebsd.org/changeset/ports/478118 Log: java/jikes: Unbreak on 12.0 and fix build with Clang 6 checking for standard set_new_handler... no configure: error: Could not find standard set_new_handler function PR: 230673 Submitted by: Ting-Wei Lan <lantw44@gmail.com> Changes: head/java/jikes/Makefile