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

David Evans devans at macports.org
Wed Nov 5 04:03:18 PST 2008


nox wrote:
> Le 5 nov. 08 à 11:55, devans at macports.org a écrit :
>
>> Revision41517Authordevans at macports.orgDate2008-11-05 02:55:31 -0800
>> (Wed, 05 Nov 2008)Log Message
>> gtk2: fix +no_x11 build failure on Tiger.  See #16978.
>> Modified Paths
>>     • trunk/dports/x11/gtk2/Portfile
>> Diff
>> Modified: trunk/dports/x11/gtk2/Portfile (41516 => 41517)
>> --- trunk/dports/x11/gtk2/Portfile    2008-11-05 10:30:42 UTC (rev
>> 41516)
>> +++ trunk/dports/x11/gtk2/Portfile    2008-11-05 10:55:31 UTC (rev
>> 41517)
>> @@ -107,6 +107,12 @@
>>      depends_build-append    port:cups-headers
>>  }
>>
>> +platform darwin 8 {
>> +    if {[variant_isset quartz] || [variant_isset no_x11]} {
>> +        configure.env-append   LDFLAGS="-framework Cocoa -framework
>> Carbon"
>> +    }
>> +}
>> +
>>  variant no_x11 description {Same as +quartz} {
>>      pre-fetch {
>>          if {[file exists ${prefix}/lib/libpangox-1.0.dylib]} {
>
> configure.ldflags-append -framework Cocoa -framework Carbon seems more
> appropriate, doesn't it?
Good point.  Changed in r41519.


More information about the macports-dev mailing list