Move install of locate.rc to usr.bin/locate/locate/

This leverages CONFS to handle the install and purges an old comment.

Approved by:	re (blanket, pkgbase), bapt (mentor)
Differential Revision:	https://reviews.freebsd.org/D17215
This commit is contained in:
brd 2018-09-18 20:50:07 +00:00
parent 4a098602d1
commit 3c2eb03545
2 changed files with 1 additions and 8 deletions

View File

@ -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

View File

@ -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>