summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-01-19 01:30:29 +0000
committerhubertf <hubertf@pkgsrc.org>1999-01-19 01:30:29 +0000
commit272c8530d29d629466cd424a126b65c94574653d (patch)
tree7d74c9f86a5da9fd54a165fc2a46567392204f0d /mk
parent5c3ff08b93352c36a8b2762b089ec9d1a1ca0988 (diff)
downloadpkgsrc-272c8530d29d629466cd424a126b65c94574653d.tar.gz
Give better help if umask is wrong: tell the expected umask, and mention
that the just installed package may be deinstalled with "make deinstall" first. Pointed out in PR 5973 by Kimmo Suominen <kim@tac.nyc.ny.us>.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index a42338d5d13..01305d7fc43 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.201 1999/01/09 20:52:30 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.202 1999/01/19 01:30:29 hubertf Exp $
#
# This file is in the public domain.
#
@@ -1108,8 +1108,8 @@ _PORT_USE: .USE
.endif
@if [ `${SH} -c umask` != ${DEF_UMASK} ]; then \
${ECHO_MSG} "===> Warning: your umask is \"`${SH} -c umask`"\".; \
- ${ECHO_MSG} " If this is not desired, set it to an appropriate value"; \
- ${ECHO_MSG} " and install this port again by \`\`${MAKE} reinstall''."; \
+ ${ECHO_MSG} " If this is not desired, set it to an appropriate value (${DEF_UMASK})"; \
+ ${ECHO_MSG} " and install this port again by \`\`${MAKE} deinstall reinstall''."; \
fi
@cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} run-depends
.endif