aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-06-20 02:55:49 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-06-20 02:55:49 +0000
commitb7a2831fbcd6d60e1569cdd4aa4e19945ffd5c60 (patch)
tree84fab7d32d1d75541223c2aff50989ce0d264485 /Makefile
parent9bf5108aa6a4bdf442bea16a012952806fbaa900 (diff)
downloadmandoc-b7a2831fbcd6d60e1569cdd4aa4e19945ffd5c60.tar.gz
mandoc-b7a2831fbcd6d60e1569cdd4aa4e19945ffd5c60.tar.zst
mandoc-b7a2831fbcd6d60e1569cdd4aa4e19945ffd5c60.zip
let the build system cope with the recent ohash changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2bf63401..b6a1dc9b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.419 2014/04/24 00:29:45 schwarze Exp $
+# $Id: Makefile,v 1.420 2014/06/20 02:55:49 schwarze Exp $
#
# Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
# Copyright (c) 2011, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -66,6 +66,10 @@ INSTALL_MAN = $(INSTALL_DATA)
DBLIB = -L/usr/local/lib -lsqlite3
DBBIN = makewhatis manpage apropos
+# OpenBSD has the ohash functions in libutil.
+# Comment the following line if your system doesn't.
+DBLIB += -lutil
+
# === END OF USER SETTINGS =============================================
ALLBIN = mandoc preconv demandoc $(DBBIN)