Bug 236686

Summary: java/openjdk11 fails during configure
Product: Ports & Packages Reporter: tjlegg
Component: Individual Port(s)Assignee: freebsd-java mailing list <java>
Status: New ---    
Severity: Affects Only Me CC: glewis, mizhka
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description tjlegg 2019-03-21 03:07:27 UTC
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
Comment 1 Greg Lewis freebsd_committer 2019-03-21 20:29:53 UTC
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
Comment 2 Michael Zhilin 2019-03-22 07:54:43 UTC
Hi,

grep can be different: BSD or GPL. 
Could you please provide output of "grep -V"?

Thanks!
Comment 3 tjlegg 2019-03-23 00:40:39 UTC
(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
WITHOUT_GNU_GREP=true
WITH_BSD_GREP=true