summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-02 10:27:05 +0000
committered <ed@FreeBSD.org>2010-01-02 10:27:05 +0000
commit9b380e30d4e06cf0243e311871dc27cfa4a6354a (patch)
tree756926e3b5383e94680dcfd7df8fd002f56e1dd7 /usr.bin/locate
parent14b790b0cfcd233769de066dd78e637bf80713dc (diff)
downloadFreeBSD-src-9b380e30d4e06cf0243e311871dc27cfa4a6354a.zip
FreeBSD-src-9b380e30d4e06cf0243e311871dc27cfa4a6354a.tar.gz
Build usr.bin/ with WARNS=6 by default.
Also add some missing $FreeBSD$ to keep svn happy.
Diffstat (limited to 'usr.bin/locate')
-rw-r--r--usr.bin/locate/Makefile.inc2
-rw-r--r--usr.bin/locate/locate/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/locate/Makefile.inc b/usr.bin/locate/Makefile.inc
index 4817408..5ce397d 100644
--- a/usr.bin/locate/Makefile.inc
+++ b/usr.bin/locate/Makefile.inc
@@ -1,3 +1,5 @@
# $FreeBSD$
LIBEXECDIR?= /usr/libexec
+
+WARNS?= 0
diff --git a/usr.bin/locate/locate/Makefile b/usr.bin/locate/locate/Makefile
index 9a618da..a139ff2 100644
--- a/usr.bin/locate/locate/Makefile
+++ b/usr.bin/locate/locate/Makefile
@@ -7,6 +7,8 @@ CFLAGS+= -I${.CURDIR} -DMMAP # -DDEBUG (print time) -O2 (10% faster)
SCRIPTS=updatedb.sh mklocatedb.sh concatdb.sh
MAN= locate.1 locate.updatedb.8
+WARNS?= 2
+
SCRIPTSDIR= ${LIBEXECDIR}
.for script in ${SCRIPTS}
SCRIPTSNAME_${script}= locate.${script:R}
OpenPOWER on IntegriCloud