Module Name: src
Committed By: christos
Date: Thu Jul 21 12:24:54 UTC 2016
Modified Files:
src/usr.sbin/makemandb: Makefile
Log Message:
Add -lz to makefile to fix the build.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.5 src/usr.sbin/makemandb/Makefile:1.6
--- src/usr.sbin/makemandb/Makefile:1.5 Mon Jan 14 13:04:58 2013
+++ src/usr.sbin/makemandb/Makefile Thu Jul 21 08:24:54 2016
@@ -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 @@ CPPFLAGS+= -I${MDOCDIR} -I${MANCONFDIR}
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