summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2017-04-02 15:13:35 +0000
committerbapt <bapt@FreeBSD.org>2017-04-02 15:13:35 +0000
commitbea1b22c7a9bce1dfdd73e6e5b65bc4752215180 (patch)
treebd972a15e68ec24a22419f0f5c32ff1850c9ba2a /usr.bin
parenteea1cd5ff4fc99189eef7509786bd26ec7cf9cff (diff)
downloadFreeBSD-src-bea1b22c7a9bce1dfdd73e6e5b65bc4752215180.zip
FreeBSD-src-bea1b22c7a9bce1dfdd73e6e5b65bc4752215180.tar.gz
RFC: 312593, 313958
Update mandoc to 1.14
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/Makefile27
-rw-r--r--usr.bin/mandoc/Makefile.depend2
2 files changed, 16 insertions, 13 deletions
diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile
index 5fa7c99..c0979bb 100644
--- a/usr.bin/mandoc/Makefile
+++ b/usr.bin/mandoc/Makefile
@@ -65,27 +65,32 @@ TERM_SRCS= eqn_term.c \
term_ps.c \
tbl_term.c
-DB_SRCS= mandocdb.c \
- mansearch.c \
- mansearch_const.c \
- tag.c \
- manpath.c
+DBM_SRCS= dbm.c \
+ dbm_map.c \
+ mansearch.c
+
+DBA_SRCS= dba.c \
+ dba_array.c \
+ dba_read.c \
+ dba_write.c \
+ mandocdb.c
SRCS= ${LIB_SRCS} \
${HTML_SRCS} \
${MAN_SRCS} \
${TERM_SRCS} \
+ ${DBM_SRCS} \
+ ${DBA_SRCS} \
main.c \
+ manpath.c \
out.c \
+ tag.c \
tree.c
-SRCS+= ${DB_SRCS}
-
-WARNS?= 2
+WARNS?= 3
CFLAGS+= -DHAVE_CONFIG_H \
-D_WITH_GETLINE \
- -I${.CURDIR}/../../lib/libopenbsd/ \
- -I${.CURDIR}/../../contrib/sqlite3
-LIBADD= openbsd sqlite3 z
+ -I${.CURDIR}/../../lib/libopenbsd/
+LIBADD= openbsd z
.include <bsd.prog.mk>
diff --git a/usr.bin/mandoc/Makefile.depend b/usr.bin/mandoc/Makefile.depend
index 7c705f5..1fe4610 100644
--- a/usr.bin/mandoc/Makefile.depend
+++ b/usr.bin/mandoc/Makefile.depend
@@ -10,8 +10,6 @@ DIRDEPS = \
lib/libc \
lib/libcompiler_rt \
lib/libopenbsd \
- lib/libsqlite3 \
- lib/libthr \
lib/libz \
OpenPOWER on IntegriCloud