aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-01-21 13:17:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-01-21 13:17:25 +0000
commit7666f5006c1b29b68ec365083dbb583a7c0cc4a8 (patch)
tree604a5b628487c56437517cc06c3d4f6f78f9adfe /usr.bin
parente0f076ceeadcccdfeb46d7e38e7775526e803c37 (diff)
parentef7476572c9a18c0cb4d5dbaf3a81f1628419abb (diff)
downloadsrc-7666f5006c1b29b68ec365083dbb583a7c0cc4a8.tar.gz
src-7666f5006c1b29b68ec365083dbb583a7c0cc4a8.zip
Import mandoc cvs snapshot 20170121 (pre 1.14)
Note that mandoc does not use anymore sqlite3 but a home made database format An important improvement has been made as well in makewhatis performance: Tests on my laptop shows makewhatis on the entire system goes from 26s to 12s
Notes
Notes: svn path=/head/; revision=312593
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 9e397cf31910..dfc58385f85d 100644
--- a/usr.bin/mandoc/Makefile
+++ b/usr.bin/mandoc/Makefile
@@ -65,26 +65,31 @@ 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 \
- -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 7c705f5b3c99..1fe4610a2f03 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 \