K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-08-03T22:41:15.991263Z K 7 svn:log V 1530 New Feature =========== Add the ability to skip the rebuild of the -r port by adding -R * In getopts() for -r assign the name of the parent port to a persistent variable (PM_RBP) so that we can use it later * In check_for_updates() use $PM_RBP to determine if the parent port is up to date * In post_first_pass() check for -R + -r, and test whether or not the parent port is up to date. If it, and all dependencies are up to date remove it from build_l and set a flag (PM_REQ_BY_SKIP_PARENT) for the main build routine. Either way, notify the user. * Move the routine (basically unchanged) for handling the dependent ports into a function, urb_final() so that it can be called both from the end of the script (where it used to be) and from the main build routine if the flag is set to skip the parent build * At the beginning of the main build routine call check_for_updates() to see if the parent is up to date * In the main build routine test for the skip-parent-build flag Other Fixes =========== 1. In parent_exit(): * Remove a now-redundant test for -r/-f * If INSTALLED_LIST has content but ilist does not, move it over so we can display the right information about work done * Add one line of whitespace between the last (potentially variable number) of PM_SU_VERBOSE messages and the summary of work 2. In post_first_pass() add PM_NO_CONFIRM to the unset list 3. In the main "after the first pass" code when processing the -r stuff add some more whitespace to the status messasges END