aboutsummaryrefslogtreecommitdiff
path: root/sysutils/portupgrade
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-07-29 16:34:48 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-07-29 16:34:48 +0000
commit12b59934e579970e2f22cb5a9adedb448a7d894e (patch)
tree853c4c482118bbcf4d53095125753adb20bafa02 /sysutils/portupgrade
parent88526736779eca06e0e6f090cf86f2317deaf8d2 (diff)
downloadports-12b59934e579970e2f22cb5a9adedb448a7d894e.tar.gz
ports-12b59934e579970e2f22cb5a9adedb448a7d894e.zip
Notes
Diffstat (limited to 'sysutils/portupgrade')
-rw-r--r--sysutils/portupgrade/Makefile2
-rw-r--r--sysutils/portupgrade/files/patch-bin-portupgrade22
2 files changed, 23 insertions, 1 deletions
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile
index 7a99dd0ae24f..60f879d2c7c9 100644
--- a/sysutils/portupgrade/Makefile
+++ b/sysutils/portupgrade/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 20041226
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
${MASTER_SITE_LOCAL}
diff --git a/sysutils/portupgrade/files/patch-bin-portupgrade b/sysutils/portupgrade/files/patch-bin-portupgrade
new file mode 100644
index 000000000000..063d81beee94
--- /dev/null
+++ b/sysutils/portupgrade/files/patch-bin-portupgrade
@@ -0,0 +1,22 @@
+Index: bin/portupgrade
+===================================================================
+--- bin/portupgrade (revision 34)
++++ bin/portupgrade (revision 36)
+@@ -1560,7 +1560,7 @@
+
+ timer_start(time_key = "Installation of #{pkgname}")
+
+- cmdargs = [PkgDB::command(:pkg_add), '-f', pkgname]
++ cmdargs = [PkgDB::command(:pkg_add), '-f', pkgfile]
+
+ progress_message "Installing the new version via the package"
+
+@@ -1705,7 +1705,7 @@
+ id_pkgname, id_origin, pkgdep = identify_pkg(file)
+
+ if id_origin == origin
+- pkglist << [PkgInfo.new(id_pkgname), file]
++ pkglist << [PkgInfo.new(id_pkgname), File.join(dir, file)]
+ end
+ }
+ }