diff options
Diffstat (limited to 'ports-mgmt/portupgrade-devel')
-rw-r--r-- | ports-mgmt/portupgrade-devel/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/portupgrade-devel/files/patch-portupgrade | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index f434320f6a8..0ed777b6f39 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20040701 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \ ${MASTER_SITE_LOCAL} diff --git a/ports-mgmt/portupgrade-devel/files/patch-portupgrade b/ports-mgmt/portupgrade-devel/files/patch-portupgrade new file mode 100644 index 00000000000..3b818e4bf39 --- /dev/null +++ b/ports-mgmt/portupgrade-devel/files/patch-portupgrade @@ -0,0 +1,16 @@ +Index: bin/portupgrade +=================================================================== +RCS file: /home/cvs/pkgtools/bin/portupgrade,v +retrieving revision 1.226 +diff -u -2 -r1.226 portupgrade +--- bin/portupgrade 30 Jun 2004 16:51:46 -0000 1.226 ++++ bin/portupgrade 6 Jul 2004 19:18:10 -0000 +@@ -1691,5 +1691,7 @@ + end + +- latest_pkg, pkgfile = *pkglist.max { |pkg, file| pkg } ++ latest_pkg, pkgfile = *pkglist.max { |(pkg1, file1), (pkg2, file2)| ++ pkg1 <=> pkg2 ++ } + + if latest_pkg |