Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/makemandb Add -lz to makefile to fix the build.



details:   https://anonhg.NetBSD.org/src/rev/6f329f3d309e
branches:  trunk
changeset: 346605:6f329f3d309e
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jul 21 12:24:54 2016 +0000

description:
Add -lz to makefile to fix the build.

diffstat:

 usr.sbin/makemandb/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r d9777d188b20 -r 6f329f3d309e usr.sbin/makemandb/Makefile
--- a/usr.sbin/makemandb/Makefile       Thu Jul 21 12:17:07 2016 +0000
+++ b/usr.sbin/makemandb/Makefile       Thu Jul 21 12:24:54 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2013/01/14 18:04:58 christos Exp $
+# $NetBSD: Makefile,v 1.6 2016/07/21 12:24:54 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -24,8 +24,8 @@
 MDOCMLOBJDIR!= cd ${MDOCDIR}/lib/libmandoc && ${PRINTOBJDIR}
 MDOCMLLIB=     ${MDOCMLOBJDIR}/libmandoc.a
 
-DPADD.makemandb+=      ${MDOCMLLIB} ${LIBARCHIVE} ${LIBBZ2} ${LIBLZMA}
-LDADD.makemandb+=      -L${MDOCMLOBJDIR} -lmandoc -larchive -lbz2 -llzma
+DPADD.makemandb+=      ${MDOCMLLIB} ${LIBARCHIVE} ${LIBBZ2} ${LIBLZMA} ${LIBZ}
+LDADD.makemandb+=      -L${MDOCMLOBJDIR} -lmandoc -larchive -lbz2 -llzma -lz
 DPADD+=                ${LIBSQLITE3} ${LIBM} ${LIBZ} ${LIBTERMLIB} ${LIBUTIL}
 LDADD+=                -lsqlite3 -lm -lz -ltermlib -lutil
 



Home | Main Index | Thread Index | Old Index