aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2009-07-21 20:09:17 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2009-07-21 20:09:17 +0000
commit58fd1ed486ccce4f5dab3d0d985d1727a916d2f3 (patch)
treeae2eab27305d379519322a12fca652a41c8a8d72 /ports-mgmt
parentce468e95abbefc841ff1a663ca4c24fc8949ae46 (diff)
downloadports-58fd1ed486ccce4f5dab3d0d985d1727a916d2f3.tar.gz
ports-58fd1ed486ccce4f5dab3d0d985d1727a916d2f3.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade/Makefile2
-rw-r--r--ports-mgmt/portupgrade/files/patch-bin-portupgrade24
2 files changed, 25 insertions, 1 deletions
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