diff options
Diffstat (limited to 'lib/libskey')
-rw-r--r-- | lib/libskey/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libskey/Makefile b/lib/libskey/Makefile index 6e3fe92..63df390 100644 --- a/lib/libskey/Makefile +++ b/lib/libskey/Makefile @@ -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 |