[153575] trunk/dports/devel/gpgme/Portfile
devans at macports.org
devans at macports.org
Tue Oct 4 22:40:24 CEST 2016
Revision: 153575
https://trac.macports.org/changeset/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
Modified: trunk/dports/devel/gpgme/Portfile
===================================================================
--- 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]
+ }
+ }
+}
+
livecheck.type regex
livecheck.url ftp://ftp.gnupg.org/gcrypt/gpgme/
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161004/5bdc50a4/attachment-0002.html>
More information about the macports-changes
mailing list