mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
3e11bd9e2a
Reduce overlinking
27 lines
492 B
Makefile
27 lines
492 B
Makefile
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG = passwd
|
|
BINOWN = root
|
|
BINMODE = 4555
|
|
LIBADD = pam
|
|
.if ${MK_NIS} != "no"
|
|
LINKS = ${BINDIR}/passwd ${BINDIR}/yppasswd
|
|
MLINKS = passwd.1 yppasswd.1
|
|
.endif
|
|
|
|
beforeinstall:
|
|
.for i in passwd yppasswd
|
|
[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
|
|
chflags noschg ${DESTDIR}${BINDIR}/$i || true
|
|
.endfor
|
|
|
|
.if !defined(NO_FSCHG)
|
|
afterinstall:
|
|
-chflags schg ${DESTDIR}${BINDIR}/passwd
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|