aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-07-23 23:08:08 +0800
committersem <sem@FreeBSD.org>2006-07-23 23:08:08 +0800
commit20c140c307eae824bee5fcf6add1fae9e1587723 (patch)
tree22dca3bdca30e9c8d9716527d3e3912408086c00 /ports-mgmt
parente06f87fc8f68232ce394fa219b29f7aae643a2a2 (diff)
downloadfreebsd-ports-gnome-20c140c307eae824bee5fcf6add1fae9e1587723.tar.gz
freebsd-ports-gnome-20c140c307eae824bee5fcf6add1fae9e1587723.tar.zst
freebsd-ports-gnome-20c140c307eae824bee5fcf6add1fae9e1587723.zip
- Fix a bug that caused incorrect output-processing in second-party soft.
Obtained from: Kport
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portupgrade/Makefile2
-rw-r--r--ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb14
2 files changed, 15 insertions, 1 deletions
diff --git a/ports-mgmt/portupgrade/Makefile b/ports-mgmt/portupgrade/Makefile
index fd5f73528cfb..96510b5bb9c4 100644
--- a/ports-mgmt/portupgrade/Makefile
+++ b/ports-mgmt/portupgrade/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.1.3.2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
diff --git a/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb b/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb
new file mode 100644
index 000000000000..b88b84db28d4
--- /dev/null
+++ b/ports-mgmt/portupgrade/files/patch-lib-pkgtools.rb
@@ -0,0 +1,14 @@
+--- lib/pkgtools.rb.orig Sun Jul 23 18:50:49 2006
++++ lib/pkgtools.rb Sun Jul 23 18:50:59 2006
+@@ -486,10 +486,8 @@
+ def logged_command(file, args)
+ if !file
+ args
+- elsif STDIN.tty?
+- ['/usr/bin/script', '-qa', file, *args]
+ else
+- ['/bin/sh', '-c', sprintf('%s >>%s 2>&1', shelljoin(*args), shelljoin(file))]
++ ['/usr/bin/script', '-qa', file, *args]
+ end
+ end
+