[PATCH] port: dependencies for X11

Joshua Root jmr at macports.org
Tue Jan 20 03:49:29 PST 2009


Bryan Blackburn wrote:
> On Tue, Jan 20, 2009 at 05:29:00AM +0000, Eric Hall said:
>> On Mon, Jan 19, 2009 at 10:22:14PM -0700, Bryan Blackburn wrote:
>>> On Tue, Jan 20, 2009 at 05:08:09AM +0000, Eric Hall said:
>> [snip]
>>>> 	I figured all of them, in case people want to use
>>>> the system installed X11.  Perhaps I misunderstood something
>>>> in the various emails, I thought there was mention of having
>>>> variants to allow the use of the system installed X11.
>>> That's in the respective xorg-lib* ports, eg, xorg-libX11 [1]; so if
>>> port xyz depends on xorg-libX11, that either installs the library or,
>>> with +system_x11 set, nothing.
>>>
>>> Bryan
>>>
>>> [1] - <http://trac.macports.org/browser/trunk/dports/x11/xorg-libX11/Portfile#L45>
>>>
>> 	Ahhhhh.  So close and yet so far...
>> 	Much cleaner and nicer too (variant in one port rather
>> than in many many).
> 
> Actual, in several (30-some-odd xorg-lib* ports and a couple of other,
> similar ones), but at least grouped just to those X11-specific ports instead
> of having to go into any app-type port which needs X11...

This means, of course, that if you want to use +system_x11, you're best
off setting it in variants.conf.

- Josh


More information about the macports-dev mailing list