1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Sync patches with ports-mgmt/portupgrade port

This commit is contained in:
Sergey Matveychuk 2008-03-21 14:20:43 +00:00
parent b13a7fd66b
commit 235a4b8f23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=209538
2 changed files with 24 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= portupgrade-devel
PORTVERSION= 2.4.3
PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= portupgrade

View File

@ -0,0 +1,23 @@
--- bin/portupgrade.orig 2008-02-11 02:20:02.000000000 +0300
+++ bin/portupgrade 2008-02-11 19:12:49.000000000 +0300
@@ -647,7 +647,8 @@
end
depends |= dep
end
- install_tasks |= get_notinstalled_depends(origin)
+ # XXX It makes more problems than solves
+ #install_tasks |= get_notinstalled_depends(origin)
end
end
upgrade_tasks -= not_need_upgrade
@@ -656,8 +657,10 @@
if $upward_recursive
STDERR.print '[Exclude up-to-date packages '
not_need_upgrade = []
+ not_need_upgrade << ''
depends.each do |task|
STDERR.print '.'
+ next if task == ''
pkg = PkgInfo.new(task)
origin = $pkgdb.origin(task)
if !origin.nil?