388e590f95
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
27 lines
498 B
Makefile
27 lines
498 B
Makefile
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
|
|
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG = passwd
|
|
BINOWN = root
|
|
BINMODE = 4555
|
|
DPADD = ${LIBPAM}
|
|
LDADD = ${MINUSLPAM}
|
|
.if ${MK_NIS} != "no"
|
|
LINKS = ${BINDIR}/passwd ${BINDIR}/yppasswd
|
|
MLINKS = passwd.1 yppasswd.1
|
|
.endif
|
|
WARNS ?= 4
|
|
|
|
beforeinstall:
|
|
.for i in passwd yppasswd
|
|
[ ! -e ${DESTDIR}${BINDIR}/$i ] || \
|
|
chflags noschg ${DESTDIR}${BINDIR}/$i || true
|
|
.endfor
|
|
|
|
afterinstall:
|
|
-chflags schg ${DESTDIR}${BINDIR}/passwd
|
|
|
|
.include <bsd.prog.mk>
|