new libarchive need crypto.

This commit is contained in:
christos 2017-04-21 23:06:18 +00:00
parent 9aa6a196f7
commit 1b32fecb19
1 changed files with 7 additions and 1 deletions

View File

@ -1,10 +1,16 @@
# $NetBSD: Makefile,v 1.2 2011/08/18 11:29:27 christos Exp $
# $NetBSD: Makefile,v 1.3 2017/04/21 23:06:18 christos Exp $
.include <bsd.own.mk>
PROG= unzip
DPADD+= ${LIBARCHIVE} ${LIBZ} ${LIBBZ2}
LDADD+= -larchive -lz -lbz2
.if ${MKCRYPTO:Uno}
LDADD= -lcrypto
DPADD= ${LIBCRYPTO}
.endif
COPTS.unzip.c += -Wno-format-y2k
.include <bsd.prog.mk>