summaryrefslogtreecommitdiff
path: root/libexec/rpc.rstatd
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-01-02 09:50:19 +0000
committerEd Schouten <ed@FreeBSD.org>2010-01-02 09:50:19 +0000
commit1100c0013116f4af50d7a5b8bf23db2a13892714 (patch)
tree51df4f210477ce05c47ea90818f4ca05c7479989 /libexec/rpc.rstatd
parent3e08d559a869564e3397e171f38f89c737911a47 (diff)
downloadsrc-test2-1100c0013116f4af50d7a5b8bf23db2a13892714.tar.gz
src-test2-1100c0013116f4af50d7a5b8bf23db2a13892714.zip
Make WARNS=6 the default for libexec/.
Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS.
Notes
Notes: svn path=/head/; revision=201380
Diffstat (limited to 'libexec/rpc.rstatd')
-rw-r--r--libexec/rpc.rstatd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/rpc.rstatd/Makefile b/libexec/rpc.rstatd/Makefile
index 1083447dd399..d1a12eaec5f0 100644
--- a/libexec/rpc.rstatd/Makefile
+++ b/libexec/rpc.rstatd/Makefile
@@ -7,4 +7,6 @@ MAN = rpc.rstatd.8
DPADD= ${LIBRPCSVC} ${LIBUTIL} ${LIBDEVSTAT}
LDADD= -lrpcsvc -lutil -ldevstat
+WARNS?= 1
+
.include <bsd.prog.mk>