openjdk11 fails during configure.
configure:21890: checking that grep (/usr/bin/grep) -Fx handles empty lines in the pattern list correctly
configure:21907: error: grep does not handle -Fx correctly.
11.2-STABLE FreeBSD 11.2-STABLE #22 r344491M
Here is what that looks like for me:
checking that grep (/usr/bin/grep) -Fx handles empty lines in the pattern list correctly... yes
This is on FreeBSD 11.2-RELEASE-p7
grep can be different: BSD or GPL.
Could you please provide output of "grep -V"?
(In reply to Michael Zhilin from comment #2)
BINGO! I'd forgotten about that.
$ grep -V
grep (BSD grep, GNU compatible) 2.6.0-FreeBSD
$ grep -i grep /etc/src.conf