diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile index b18a51061e32..2d941fe5495c 100644 --- a/ports-mgmt/portupgrade/Makefile +++ b/ports-mgmt/portupgrade/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 2.4.6 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 2 CATEGORIES= ports-mgmt MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} diff --git a/ports-mgmt/portupgrade/files/patch-bin-portupgrade b/ports-mgmt/portupgrade/files/patch-bin-portupgrade new file mode 100644 index 000000000000..9a4fd6564b1b --- /dev/null +++ b/ports-mgmt/portupgrade/files/patch-bin-portupgrade @@ -0,0 +1,24 @@ +--- bin/portupgrade.orig 2009-07-21 23:59:59.000000000 +0400 ++++ bin/portupgrade 2009-07-22 00:02:08.000000000 +0400 +@@ -597,6 +597,7 @@ + exit 1 + end + ++ list -= [''] + list.each do |i| + if i == first + $task_options[i][:origin] = $origin +@@ -654,12 +655,12 @@ + upgrade_tasks -= not_need_upgrade + + # Check dependencies for updates ++ depends -= [''] + if $upward_recursive + STDERR.print '[Exclude up-to-date packages ' + not_need_upgrade = [] + depends.each do |task| + STDERR.print '.' +- next if task == '' + begin + pkg = PkgInfo.new(task) + rescue ArgumentError => e