Use a better way to take NO_LPR into account, and correctly check the

NOCRYPT macro when looking at crypto.

Reminded by:	ru
This commit is contained in:
Mark Murray 2003-11-02 22:13:36 +00:00
parent 375e076b12
commit d7a606482c

View File

@ -19,8 +19,11 @@ BIN1= amd.map apmd.conf auth.conf \
${.CURDIR}/../gnu/usr.bin/man/manpath/manpath.config \
${.CURDIR}/../usr.bin/mail/misc/mail.rc \
${.CURDIR}/../usr.bin/locate/locate/locate.rc
.if !defined(NO_LPR)
BIN1+= printcap
.endif
.if !defined(NO_OPENSSL)
.if !defined(NOCRYPT) && !defined(NO_OPENSSL)
.if !defined(NO_OPENSSH)
SSH= ${.CURDIR}/../crypto/openssh/ssh_config \
${.CURDIR}/../crypto/openssh/sshd_config \
@ -80,11 +83,6 @@ distribution:
.if !defined(NO_I4B)
cd ${.CURDIR}/isdn; ${MAKE} install
.endif
.if !defined(NO_LPR)
cd ${.CURDIR}; \
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \
printcap ${DESTDIR}/etc
.endif
.if !defined(NO_SENDMAIL)
cd ${.CURDIR}/sendmail; ${MAKE} distribution
.endif