aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2007-12-13 05:50:59 +0800
committerdougb <dougb@FreeBSD.org>2007-12-13 05:50:59 +0800
commit1d6312dbd496c26af25583770b2c5fe6b35f7ea2 (patch)
tree5a3ed793d69c535564dc05e6cdc5472e18140312 /ports-mgmt
parentb5fcbd9a5c445a4c6e91bad5a794032328da2211 (diff)
downloadfreebsd-ports-graphics-1d6312dbd496c26af25583770b2c5fe6b35f7ea2.tar.gz
freebsd-ports-graphics-1d6312dbd496c26af25583770b2c5fe6b35f7ea2.tar.zst
freebsd-ports-graphics-1d6312dbd496c26af25583770b2c5fe6b35f7ea2.zip
New Features
===========+ 1. If an +IGNOREME file is present for a package that has a new version, let the user know. 2. Use printf to display BROKEN/FORBIDDEN/IGNORE messages so that multi-line messages with embedded newlines will display properly. Typo Fix ======== Fix two typos in the "it's interactive" message ... on the same line ... in two consecutive words. A new personal record. I did run through the rest of the script with aspell and didn't notice anything else, but who knows?
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portmaster/files/portmaster.sh.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/ports-mgmt/portmaster/files/portmaster.sh.in b/ports-mgmt/portmaster/files/portmaster.sh.in
index 154ff4ecf41..6c673257fb8 100644
--- a/ports-mgmt/portmaster/files/portmaster.sh.in
+++ b/ports-mgmt/portmaster/files/portmaster.sh.in
@@ -486,6 +486,9 @@ check_for_updates () {
case "$2" in
list) if [ -z "$newportdir" ]; then
echo " ===>>> New version available: $port_ver"
+ if [ -e "$pdb/$1/+IGNOREME" ]; then
+ echo " ===>>> +IGNOREME file is present for $1"
+ fi
num_updates=$(( $num_updates + 1 ))
else
unset newportdir
@@ -1496,7 +1499,7 @@ for state in FORBIDDEN BROKEN IGNORE; do
state_set=`make -V $state`
if [ -n "$state_set" ]; then
echo "===>>> This port is marked $state:"
- echo "===>>> $state_set"
+ printf "===>>> $state_set"
echo "===>>> If you are sure you can build it, remove the"
echo " $state line in the Makefile and try again."
safe_exit 1
@@ -1546,7 +1549,7 @@ dofetch () {
if [ -n "$TESTINT" ]; then
echo ''
echo "===>>> Warning: $portdir is interactive, and will likely"
- echo " reqire attenton during the build"
+ echo " require attention during the build"
echo ''
echo -n "===>>> Press the [Enter] or [Return] key to continue "
read DISCARD