[31844] trunk/dports/x11/gtk2/Portfile

Ryan Schmidt ryandesign at macports.org
Mon Dec 10 09:27:06 PST 2007


On Dec 10, 2007, at 08:43, Weissmann Markus wrote:

> On 10.12.2007, at 15:23, Ryan Schmidt wrote:
>
>> On Dec 10, 2007, at 08:16, Weissmann Markus wrote:
>>
>>> Hmmm... wouldn't it be much cleaner and easier to only have one  
>>> variant "quartz" as "quartz" and "x11" are mutually exclusive  
>>> anyway?

Since there is a choice to be made for x11 support or quartz support,  
I think it makes sense to list both of these as variants. The port  
should (and now does) ensure that exactly one of these is selected at  
all times.

>>> This way it wouldn't be necessary to explain to a user why the  
>>> selection "x11 and quartz" he just made is illegal.
>>
>>
>> I didn't think they were mutually exclusive?
>
> "\n\nThe gtk2 port can be built and installed with support for  
> either Quartz\n(Aqua) rendering or X11 rendering, but not both.\n 
> \n" [1]
>
> [1] https://trac.macosforge.org/projects/macports/browser/trunk/ 
> dports/x11/gtk2/Portfile?rev=31844

Oh hey, so it is. I marked the +x11 and +quartz variants as  
conflicting with one another in r31870. That should do it.



More information about the macports-dev mailing list