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

This commit is contained in:
Peter Wemm 1997-09-05 11:52:20 +00:00
parent 1840bd1444
commit 7bd6d5e7cf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29143

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