1c6063d0dSWarner Losh.include <src.opts.mk> 2e1fe3dbaSRuslan Ermilov 3*a7b5a3d4SEmmanuel VadotPACKAGE = runtime 4f5d01539SRoger HardimanPROG = passwd 5cda2a9b2SRuslan ErmilovBINOWN = root 69b50d902SRodney W. GrimesBINMODE = 4555 7674c4585SGlen BarberPRECIOUSPROG= 83e11bd9eSBaptiste DaroussinLIBADD = pam 9e1fe3dbaSRuslan Ermilov.if ${MK_NIS} != "no" 10ce9f2d31SRodney W. GrimesSYMLINKS = passwd ${BINDIR}/yppasswd 11a3ce11a2SBill PaulMLINKS = passwd.1 yppasswd.1 12d56162c1SAndrey A. Chernov.endif 13279c4961SAndrey A. Chernov 14a3ce11a2SBill Paulbeforeinstall: 15bac06c08SMike Pritchard.for i in passwd yppasswd 16bac06c08SMike Pritchard [ ! -e ${DESTDIR}${BINDIR}/$i ] || \ 17ad5ebf3fSDag-Erling Smørgrav chflags noschg ${DESTDIR}${BINDIR}/$i || true 18bac06c08SMike Pritchard.endfor 19c5557383SBruce Evans 209b50d902SRodney W. Grimes.include <bsd.prog.mk> 21