Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/unzip new libarchive need crypto.



details:   https://anonhg.NetBSD.org/src/rev/184c99b5428c
branches:  trunk
changeset: 823401:184c99b5428c
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Apr 21 23:06:18 2017 +0000

description:
new libarchive need crypto.

diffstat:

 usr.bin/unzip/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 7bf931b70758 -r 184c99b5428c usr.bin/unzip/Makefile
--- a/usr.bin/unzip/Makefile    Fri Apr 21 22:46:26 2017 +0000
+++ b/usr.bin/unzip/Makefile    Fri Apr 21 23:06:18 2017 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index