diff options
author | garga <garga@FreeBSD.org> | 2005-07-30 00:34:48 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2005-07-30 00:34:48 +0800 |
commit | ac4ec2756c7c712754e2fc50ff19521ec5ab8895 (patch) | |
tree | 89350c37667324d52954511e773f518591393df7 /ports-mgmt/portupgrade-devel | |
parent | 861493fcbe971739db478a985c60f9010ba5529d (diff) | |
download | freebsd-ports-gnome-ac4ec2756c7c712754e2fc50ff19521ec5ab8895.tar.gz freebsd-ports-gnome-ac4ec2756c7c712754e2fc50ff19521ec5ab8895.tar.zst freebsd-ports-gnome-ac4ec2756c7c712754e2fc50ff19521ec5ab8895.zip |
Pass full path to pkg_{add,info} invoked from portupgrade.
PR: ports/84278
Submitted by: KOMATSU Shinichiro <koma2@lovepeers.org> (maintainer)
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-bin-portupgrade | 22 |
2 files changed, 23 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade-devel/Makefile b/ports-mgmt/portupgrade-devel/Makefile index 7a99dd0ae24f..60f879d2c7c9 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/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/ports-mgmt/portupgrade-devel/files/patch-bin-portupgrade b/ports-mgmt/portupgrade-devel/files/patch-bin-portupgrade new file mode 100644 index 000000000000..063d81beee94 --- /dev/null +++ b/ports-mgmt/portupgrade-devel/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 + } + } |