Module Name: src
Committed By: christos
Date: Fri Apr 21 23:06:18 UTC 2017
Modified Files:
src/usr.bin/unzip: Makefile
Log Message:
new libarchive need crypto.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/unzip/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/unzip/Makefile
diff -u src/usr.bin/unzip/Makefile:1.2 src/usr.bin/unzip/Makefile:1.3
--- src/usr.bin/unzip/Makefile:1.2 Thu Aug 18 07:29:27 2011
+++ src/usr.bin/unzip/Makefile Fri Apr 21 19:06:18 2017
@@ -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>