tk +quartz -x11 dependency on libX11. Why?

Mark Bestley news at bestley.co.uk
Fri May 13 13:23:45 PDT 2016


On 13/05/2016 20:29, Xu Xin wrote:
> On Fri, May 13, 2016 at 10:30 AM, Joshua Root <jmr at macports.org> wrote:
>> On 2016-5-14 00:10 , Vincent Habchi wrote:
>>>
>>> Hi there,
>>>
>>> why does tk +quartz -x11 depend on libX11? I commented out that line in
>>> the Portfile and it compiled fine.
>>> Leaving that (dangling) dependency alive means installing a lot of cruft.
>>
>>
>> As the comment in the quartz variant in the portfile says:
>> # tk.h still includes and uses types from X11/Xlib.h
>>

> But XQuartz also coming with X11/Xlib.h
>
Yes as XQuartz is X11 and is use by +x11 and Quartz is Apple's Core 
Graphics and is not X11 so +quartz -x11 should not find any X11 files

-- 
Mark




More information about the macports-dev mailing list