aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/Makefile4
-rw-r--r--usr.bin/locate/locate/Makefile5
2 files changed, 1 insertions, 8 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 11f18d6e4dc5..71432a1142a7 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -26,10 +26,6 @@ BIN1= \
# NB: keep these sorted by MK_* knobs
-.if ${MK_LOCATE} != "no"
-BIN1+= ${SRCTOP}/usr.bin/locate/locate/locate.rc
-.endif
-
.if ${MK_LPR} != "no"
BIN1+= hosts.lpd printcap
.endif
diff --git a/usr.bin/locate/locate/Makefile b/usr.bin/locate/locate/Makefile
index a139ff282028..7d56c57457c7 100644
--- a/usr.bin/locate/locate/Makefile
+++ b/usr.bin/locate/locate/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
+CONFS= locate.rc
PROG= locate
SRCS= util.c locate.c
CFLAGS+= -I${.CURDIR} -DMMAP # -DDEBUG (print time) -O2 (10% faster)
@@ -15,9 +16,5 @@ SCRIPTSNAME_${script}= locate.${script:R}
.endfor
MLINKS+= locate.updatedb.8 updatedb.8
-# only /usr/src/etc/Makefile install files in /etc
-# ${INSTALL} -o root -g wheel -m 644 \
-# ${.CURDIR}/locate.rc ${DESTDIR}/etc
-
.include "../../Makefile.inc"
.include <bsd.prog.mk>