[91233] trunk/dports/databases/mysql55/Portfile

Rainer Müller raimue at macports.org
Tue Mar 27 03:46:24 PDT 2012


On 03/27/2012 02:49 AM, Ryan Schmidt wrote:
>> Modified: trunk/dports/databases/mysql55/Portfile
>> ===================================================================
>> --- trunk/dports/databases/mysql55/Portfile	2012-03-26 15:08:04 UTC (rev 91232)
>> +++ trunk/dports/databases/mysql55/Portfile	2012-03-26 15:24:06 UTC (rev 91233)
>> @@ -13,7 +13,7 @@
>> platforms           darwin
>> maintainers         pixilla openmaintainer
>>
>> -subport mysql55 {
>> +if {$subport == $name} {
> 
> So wait, this actually causes a problem? That's unfortunate, and it means I have several places where I need to undo this.

I think the current terminology means that if $subport equals $name,
then this is should not be a subport at all, but the "main" port. For
this mysql55 port, the subports mysql55 and mysql55-server are quite
different and probably should not be implemented as a subport.

I don't like this syntax either and it is confusing to me. Maybe we
could handle this as a special case to allow use of a clear syntax
without implying a difference on the "main" port and other subports?

Rainer


More information about the macports-dev mailing list