[MacPorts] PortfileRecipes modified

MacPorts noreply at macports.org
Wed Mar 6 13:00:46 PST 2013


Page "PortfileRecipes" was changed by larryv at macports.org
Diff URL: <https://trac.macports.org/wiki/PortfileRecipes?action=diff&version=59>
Revision 59
Comment: clarify location of port version info in registry_active results
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: PortfileRecipes
=========================================================================
--- PortfileRecipes (version: 58)
+++ PortfileRecipes (version: 59)
@@ -466,5 +466,5 @@
 }}}
 
 * `registry_active` returns a list containing information about active ports. Given a particular name, only one active port can match, so the returning list has at most one element, which we save as `installed`. (If we had not provided an argument, the list would have had one element for every active port.)
-* `installed` is now a list containing information on the active port. The elements relevant to version checking are the the second, third, and sixth, which contain the port version, revision, and epoch, respectively.
+* `installed` is now a list containing information on the active port. The elements relevant to version checking are the port version, revision, and epoch, which are at indices 1, 2, and 5, respectively.
 * If the active port is not recent enough, we deactivate it using `registry_deactivate_composite`. The second argument is a version number, which in this case we leave empty. The third argument is a list of options; setting `ports_nodepcheck` to 1 forces deactivation regardless of whether there are active dependents. This is fine, since `kerberos5` will be reinstalled shortly.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

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

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 .


More information about the macports-changes mailing list