If building under elf, have libskey.so depend on libmd and libcrypt.

This commit is contained in:
peter 1997-09-05 11:52:20 +00:00
parent 247813c4dd
commit a7e8350ec8

View File

@ -11,6 +11,11 @@ MAN5= skey.access.5
CFLAGS+=-DPERMIT_CONSOLE -D_SKEY_INTERNAL -I${.CURDIR}
.if ${BINFORMAT} == elf
DPADD+= ${LIBCRYPT} ${LIBMD}
LDADD+= -lcrypt -lmd
.endif
beforeinstall:
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/skey.h \
${DESTDIR}/usr/include