diff options
author | glarkin <glarkin@FreeBSD.org> | 2011-01-07 01:29:45 +0000 |
---|---|---|
committer | glarkin <glarkin@FreeBSD.org> | 2011-01-07 01:29:45 +0000 |
commit | 0f3fc181b36fa1965e524357cee63dc37a70e533 (patch) | |
tree | 2c7a6b74f47dcc518e897eba3609c9e0890a313b /Mk | |
parent | 9e1612ff7ba1a8a48b336beef8b5c6a5b4a8195b (diff) | |
download | FreeBSD-ports-0f3fc181b36fa1965e524357cee63dc37a70e533.zip FreeBSD-ports-0f3fc181b36fa1965e524357cee63dc37a70e533.tar.gz |
- Added the license name to some of the informational messages displayed to
the user. See http://people.freebsd.org/~glarkin/logs/pecl-drizzle-0.4.2.log
for an example (e.g. "License PHP301 accepted by the user")
PR: ports/152964
Submitted by: glarkin
Tested on: pointyhat exp-run
Approved by: miwi (portmgr hat)
Approved by: alepulver (maintainer)
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.licenses.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/bsd.licenses.mk b/Mk/bsd.licenses.mk index 912a7e4..1bd7e60 100644 --- a/Mk/bsd.licenses.mk +++ b/Mk/bsd.licenses.mk @@ -551,19 +551,19 @@ check-license: @exit 1 .endif . if ${_LICENSE_STATUS} == "rejected" - @${ECHO_MSG} "===> License rejected by the user" + @${ECHO_MSG} "===> License ${_LICENSE} rejected by the user" @${ECHO_MSG} @${ECHO_MSG} "If you want to install this port make sure the following license(s) are not present in LICENSES_REJECTED, either in make arguments or /etc/make.conf: ${_LICENSE}. Also check LICENSES_GROUPS_REJECTED in case they contain a group this license(s) belong to." | ${FMT} @${ECHO_MSG} @exit 1 . elif ${_LICENSE_STATUS} == "accepted" - @${ECHO_MSG} "===> License accepted by the user" + @${ECHO_MSG} "===> License ${_LICENSE} accepted by the user" . elif ${_LICENSE_STATUS} == "ask" . if defined(BATCH) - @${ECHO_MSG} "===> License needs confirmation, but BATCH is defined" + @${ECHO_MSG} "===> License ${_LICENSE} needs confirmation, but BATCH is defined" @exit 1 . else - @${ECHO_MSG} "===> License needs confirmation, will ask later" + @${ECHO_MSG} "===> License ${_LICENSE} needs confirmation, will ask later" . endif . endif |