On 2016-01-19 23:40, David DeHaven wrote:
Thanks, looks like this does the trick:

./configure --with-freetype=/opt/X11
This came up a while back, probably on another list...

XQuartz had to change the install location due to 10.11 not allowing 
installation to /usr/X11, so our configure script should be updated to also 
check in /opt/X11 now. I don't know if a bug was ever filed for this or not.

To answer the earlier question: Yes, freetype is required for OpenJDK builds on 
Mac.
Incidentally, I have the same version of XQuartz installed on 10.10.5 and it 
creates symlinks:
/usr/X11 -> /opt/X11
/usr/X11R6 -> /opt/X11

but those symlinks cannot be created on 10.11 for the aforementioned reason.

-DrD-

I filed an issue to fix this and provided a proposed fix, but I've not tested 
it at all (and I can't at the moment...)
https://bugs.openjdk.java.net/browse/JDK-8147754

I think we can be reasonably sure that if --with-freetype=/opt/X11 works, then your fix is working.

I think your fix looks okay (apart from indentation but that might be Jira messing), but for formalitys sake I'd like you to send out a formal RFR. You don't need to create a webrev, the patch inline is ok.

/Magnus

Reply via email to