Module Name: src Committed By: christos Date: Fri Apr 21 23:07:45 UTC 2017
Modified Files: src/usr.sbin/makemandb: Makefile Log Message: libarchive now needs crypto To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/makemandb/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.sbin/makemandb/Makefile diff -u src/usr.sbin/makemandb/Makefile:1.6 src/usr.sbin/makemandb/Makefile:1.7 --- src/usr.sbin/makemandb/Makefile:1.6 Thu Jul 21 08:24:54 2016 +++ src/usr.sbin/makemandb/Makefile Fri Apr 21 19:07:45 2017 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2016/07/21 12:24:54 christos Exp $ +# $NetBSD: Makefile,v 1.7 2017/04/21 23:07:45 christos Exp $ .include <bsd.own.mk> @@ -26,6 +26,11 @@ MDOCMLLIB= ${MDOCMLOBJDIR}/libmandoc.a DPADD.makemandb+= ${MDOCMLLIB} ${LIBARCHIVE} ${LIBBZ2} ${LIBLZMA} ${LIBZ} LDADD.makemandb+= -L${MDOCMLOBJDIR} -lmandoc -larchive -lbz2 -llzma -lz +.if ${MKCRYPTO:Uno} == "yes" +LDADD.makemandb+= -lcrypto +DPADD.makemandb+= ${LIBCRYPTO} +.endif + DPADD+= ${LIBSQLITE3} ${LIBM} ${LIBZ} ${LIBTERMLIB} ${LIBUTIL} LDADD+= -lsqlite3 -lm -lz -ltermlib -lutil