svn commit: r226953 - user/dougb/portmaster

Doug Barton dougb at FreeBSD.org
Sun Oct 30 23:31:03 UTC 2011


Author: dougb
Date: Sun Oct 30 23:31:03 2011
New Revision: 226953
URL: http://svn.freebsd.org/changeset/base/226953

Log:
  For multiple -r, don't add a port to the list of dependents to rebuild if
  it was itself specified as a -r port.

Modified:
  user/dougb/portmaster/portmaster

Modified: user/dougb/portmaster/portmaster
==============================================================================
--- user/dougb/portmaster/portmaster	Sun Oct 30 22:57:42 2011	(r226952)
+++ user/dougb/portmaster/portmaster	Sun Oct 30 23:31:03 2011	(r226953)
@@ -2641,6 +2641,10 @@ urb_update () {
 		for req_by in `grep -l DEPORIGIN:${origin}$ $pdb/*/+CONTENTS`; do
 			req_by="${req_by%/+CONTENTS}"
 			req_by="${req_by##*/}"
+
+			case " $PM_URB_IPORTS" in *" $req_by "*) continue ;; esac
+			case " $PM_URB_ORIGINS" in *" `origin_from_pdb $req_by` "*) continue ;; esac
+
 			PM_URB_LIST="${PM_URB_LIST} ${req_by}"
 		done
 	done


More information about the svn-src-user mailing list