summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-05-19 06:02:10 +0000
committerwiz <wiz@pkgsrc.org>2003-05-19 06:02:10 +0000
commitb0d9aa8b0fbaf7dd131e3b86e4180281ac343faa (patch)
treea64f34a032210dfa54be34af4cb469cdd135fc7a
parent971a1307e0934c86be5c5d3a49f337fae9f55713 (diff)
downloadpkgsrc-b0d9aa8b0fbaf7dd131e3b86e4180281ac343faa.tar.gz
In case license is not acceptable per /etc/mk.conf, tell user to view license
with "make show-license". Addresses PR 21616.
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 1166886db9c..13e825bfd46 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1183 2003/05/18 20:52:28 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1184 2003/05/19 06:02:10 wiz Exp $
#
# This file is in the public domain.
#
@@ -1138,7 +1138,8 @@ _ACCEPTABLE= yes
. ifndef _ACCEPTABLE
PKG_FAIL_REASON+= "${PKGNAME} has an unacceptable license: ${LICENSE}." \
" To build this package, add this line to your /etc/mk.conf:" \
- " ACCEPTABLE_LICENSES+=${LICENSE}"
+ " ACCEPTABLE_LICENSES+=${LICENSE}" \
+ " To view the license, enter \"make show-license\"."
. endif # _ACCEPTABLE
. endif # LICENSE