[153575] trunk/dports/devel/gpgme/Portfile

David Evans devans at macports.org
Thu Oct 6 11:04:11 PDT 2016


On 10/6/16 4:54 AM, Ryan Schmidt wrote:
> 
>> On Oct 4, 2016, at 3:40 PM, devans at macports.org wrote:
>>
>> Revision
>> 153575
>> Author
>> devans at macports.org
>> Date
>> 2016-10-04 13:40:24 -0700 (Tue, 04 Oct 2016)
>> Log Message
>>
>> gpgme: deactivate kdepimlibs4 earlier than 4.14.3_4 in pre_activate to avoid a conflict (#52496).
>> Modified Paths
>>
>> 	• trunk/dports/devel/gpgme/Portfile
>> Diff
>>
>> Modified: trunk/dports/devel/gpgme/Portfile (153574 => 153575)
>>
>> --- trunk/dports/devel/gpgme/Portfile	2016-10-04 20:03:08 UTC (rev 153574)
>> +++ trunk/dports/devel/gpgme/Portfile	2016-10-04 20:40:24 UTC (rev 153575)
>>
>> @@ -80,6 +80,19 @@
>>
>>          ${destroot}${prefix}/share/doc/${name}
>>
>>  }
>>
>>  
>>
>> +# deactivate kdepimlibs4 earlier than 4.14.3_4 to avoid
>> +# activation conflict on ${prefix}/include/gpgme++/*
>> +
>> +pre-activate {
>> +    if {![catch {set installed [lindex [registry_active kdepimlibs4] 0]}]} {
>> +        set _version [lindex $installed 1]
>> +        set _revision [lindex $installed 2]
>> +        if {[vercmp $_version 4.14.4] < 0 && $_revision < 4} {
>> +            registry_deactivate_composite kdepimlibs4 "" [list ports_nodepcheck 1]
>> +        }
>> +    }
>> +}
> 
> That condition doesn't look correct. It should be "version is less than 4.13.3, or version is equal to 4.13.3 and revision is less than 4."
> 
> 
> 
Indeed, thanks.  r153646 (I think).


More information about the macports-dev mailing list