[MacPorts] PortfileRecipes modified

MacPorts Wiki noreply at macports.org
Sat Aug 27 21:21:34 UTC 2022


Page "PortfileRecipes" was changed by jmroot
Diff URL: <https://trac.macports.org/wiki/PortfileRecipes?action=diff&version=113>
Revision 113
Comment: cleanup deactivate hack example
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: PortfileRecipes
=========================================================================
--- PortfileRecipes (version: 112)
+++ PortfileRecipes (version: 113)
@@ -640,7 +640,7 @@
 {{{#!tcl
 pre-activate {
     # both kerberos5 and e2fsprogs previously conflicted because they installed files now provided by libcomerr
-    if {![catch {set installed [lindex [registry_active kerberos5] 0]}]} {
+    if {![catch {lindex [registry_active kerberos5] 0} installed]} {
         set _version [lindex $installed 1]
         if {[vercmp $_version 1.11] < 0} {
             # kerberos5 used to install some files now provided by libcomerr in versions < 1.11
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/PortfileRecipes>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'PortfileRecipes' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list