summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2006-08-09 17:17:22 +0000
committersem <sem@FreeBSD.org>2006-08-09 17:17:22 +0000
commitb7dfc03a04a4d70ed2a7b59470e47de01302f508 (patch)
treed3aa836f7e39bdbbc6d1aaaaa14d78eb487fb699 /sysutils
parente807c17d8e0a01464ccd1f356a3956cb9f7c081b (diff)
downloadFreeBSD-ports-b7dfc03a04a4d70ed2a7b59470e47de01302f508.zip
FreeBSD-ports-b7dfc03a04a4d70ed2a7b59470e47de01302f508.tar.gz
- Make fetch(1) quiet when STDOUT is not a tty (as it was before).
PR: ports/101341 Requested by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/portupgrade/Makefile2
-rw-r--r--sysutils/portupgrade/files/patch-bin-portupgrade15
2 files changed, 14 insertions, 3 deletions
diff --git a/sysutils/portupgrade/Makefile b/sysutils/portupgrade/Makefile
index 96510b5..4e833e6 100644
--- a/sysutils/portupgrade/Makefile
+++ b/sysutils/portupgrade/Makefile
@@ -7,7 +7,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.1.3.2
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
diff --git a/sysutils/portupgrade/files/patch-bin-portupgrade b/sysutils/portupgrade/files/patch-bin-portupgrade
index 3a82699..f714446 100644
--- a/sysutils/portupgrade/files/patch-bin-portupgrade
+++ b/sysutils/portupgrade/files/patch-bin-portupgrade
@@ -1,5 +1,5 @@
---- bin/portupgrade.orig Wed Jul 12 20:09:27 2006
-+++ bin/portupgrade Wed Jul 12 20:09:59 2006
+--- bin/portupgrade.orig Sat Jul 1 10:40:10 2006
++++ bin/portupgrade Wed Aug 9 21:06:53 2006
@@ -900,8 +900,7 @@
def get_make_env(origin, is_new = false)
$make_env_table ||= compile_config_table(config_value(:MAKE_ENV))
@@ -10,3 +10,14 @@
make_env = $make_env.dup
if make_env.empty?
+@@ -1471,6 +1470,10 @@
+
+ Dir.chdir(portdir) {
+ $fetch_cmd = `make -V FETCH_CMD`.chomp
++
++ if ! STDOUT.tty?
++ cmdargs << "FETCH_BEFORE_ARGS=-q"
++ end
+
+ if $fetch_only
+ cmdargs << '-DBATCH' << '-DPACKAGE_BUILDING'
OpenPOWER on IntegriCloud