JAVA_VERSION???

Steve Kargl sgk at troutmask.apl.washington.edu
Fri Jun 16 17:50:10 UTC 2017


On Fri, Jun 16, 2017 at 12:40:53PM -0500, Kyle Evans wrote:
> On Fri, Jun 16, 2017 at 12:34 PM, Steve Kargl <
> sgk at troutmask.apl.washington.edu> wrote:
> 
> > Yes, it appears to be a grep issue.  In Mk/bsd.java.mk, I removed
> > the @ in line 227 to see what the test did.  I then try to reproduce
> > just the part with grep (without the -q option) at a Bourne shell
> > prompt.
> >
> > # echo "1.7+"
> > 1.7+
> > # echo "1.7+" | /usr/bin/tr " " "\n"
> > 1.7+
> > # echo "1.7+" | /usr/bin/tr " " "\n" | /usr/bin/grep
> > "1.6\|1.7\|1.8\|1.6+\|1.7+\|1.8+"
> > #
> >
> > So, nothing is returned.  If I reduce the regex pattern, I see
> >
> > # echo "1.7+" | /usr/bin/tr " " "\n" | /usr/bin/grep "1.7+"
> > 1.7+
> >
> 
> Please try this patch applied to your bsd.java.mk:
> https://files.kyle-evans.net/freebsd/java.diff
> 
> Thanks,

Kyle,

Thanks.  That patch fixes the problem with the spurious error
message. 

-- 
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow


More information about the freebsd-ports mailing list