diff options
author | knu <knu@FreeBSD.org> | 2004-02-08 16:18:30 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2004-02-08 16:18:30 +0800 |
commit | 54e2223820496270543dd2a7c41dbb623691165f (patch) | |
tree | 3e441b499571c36ea857bea0fccd63db083e7a5f /ports-mgmt/portupgrade-devel | |
parent | 6a3c0a0c8622cfd843fee5ae274c3465b3ca1832 (diff) | |
download | freebsd-ports-graphics-54e2223820496270543dd2a7c41dbb623691165f.tar.gz freebsd-ports-graphics-54e2223820496270543dd2a7c41dbb623691165f.tar.zst freebsd-ports-graphics-54e2223820496270543dd2a7c41dbb623691165f.zip |
Fix a long-standing silly bug in uninstall_pkg().
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 edefb5cb900..3a0202e5fa6 100644 --- a/ports-mgmt/portupgrade-devel/Makefile +++ b/ports-mgmt/portupgrade-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= portupgrade PORTVERSION= 20040113 -PORTREVISION= 2 +PORTREVISION= 3 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..f395fbc6886 --- /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.220 +diff -u -0 -r1.220 portupgrade +--- bin/portupgrade 23 Jul 2003 12:23:03 -0000 1.220 ++++ bin/portupgrade 8 Feb 2004 08:15:48 -0000 +@@ -1063 +1063 @@ +- teardown_proc2 = uninstall_pkg(oldpkgname, $uninstall_extra_flags) ++ teardown_proc2 = uninstall_pkg(oldpkgname, logfile, $uninstall_extra_flags) +@@ -1567 +1567 @@ +-def uninstall_pkg(pkgname, extra_flags = '') ++def uninstall_pkg(pkgname, logfile = nil, extra_flags = '') +@@ -1624 +1624 @@ +- script!(logfile, '/bin/sh', '-c', command) ++ script!(logfile, '/bin/sh', '-c', command) |