From 0eed1f29217e197bacfd762a03265b40906ccd14 Mon Sep 17 00:00:00 2001 From: Greg Larkin Date: Fri, 7 Jan 2011 01:29:45 +0000 Subject: - 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) --- Mk/bsd.licenses.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Mk') diff --git a/Mk/bsd.licenses.mk b/Mk/bsd.licenses.mk index 912a7e4689f9..1bd7e60d2b8d 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 -- cgit v1.2.3