diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-11 01:39:00 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-11 01:39:00 +0000 |
commit | 1898ad520c080ec1da6fad8c0b4e0b6644672104 (patch) | |
tree | 770318e8c67a960df906c4824528afdea70e8ae5 /Makefile | |
parent | a48dab80b41e90194711a45e5012659b7a83da4f (diff) | |
download | mandoc-1898ad520c080ec1da6fad8c0b4e0b6644672104.tar.gz |
Provide a fallback version of fts(3) for systems lacking it.
I chose the OpenBSD version because it apparently contains various
bugfixes that never made it into libnbcompat. To reduce size and
complexity, i stripped out the features we don't need.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -52,10 +52,8 @@ INSTALL_MAN = $(INSTALL_DATA) # --- user settings related to database support ------------------------ -# Building apropos(1) and makewhatis(8) requires both SQLite3 and fts(3). -# To avoid those dependencies, comment the following line. -# Be careful: the fts(3) implementation in glibc is broken on 32bit -# machines, see: https://sourceware.org/bugzilla/show_bug.cgi?id=15838 +# Building apropos(1) and makewhatis(8) requires SQLite3. +# To avoid that dependency, comment the following line. # BUILD_TARGETS += db-build @@ -135,6 +133,7 @@ SRCS = apropos.c \ cgi.c \ chars.c \ compat_fgetln.c \ + compat_fts.c \ compat_getsubopt.c \ compat_ohash.c \ compat_reallocarray.c \ @@ -201,6 +200,7 @@ DISTFILES = INSTALL \ att.in \ cgi.h.example \ chars.in \ + compat_fts.h \ compat_ohash.h \ config.h.post \ config.h.pre \ @@ -282,6 +282,7 @@ LIBMANDOC_OBJS = $(LIBMAN_OBJS) \ read.o COMPAT_OBJS = compat_fgetln.o \ + compat_fts.o \ compat_getsubopt.o \ compat_ohash.o \ compat_reallocarray.o \ |