summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-08 23:47:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-08 23:47:21 +0000
commit9b05ea6970eb7612e6ab5468184f1cc0c1a4da77 (patch)
treef3629cb4b3a4c9f637b5e885d54462b2b909da68 /Makefile
parent210f2199dda50d6da588de992c8bb32053177ca6 (diff)
downloadmandoc-9b05ea6970eb7612e6ab5468184f1cc0c1a4da77.tar.gz
Do not hardcode stuff in ./configure that is actually user-configurable
in the Makefile; instead, pass it down via the environment just like CFLAGS. Nice suggestion from kristaps@ hoping to make MacOS X happier.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c0270030..a167762c 100644
--- a/Makefile
+++ b/Makefile
@@ -488,7 +488,8 @@ mdocml.tar.gz: $(DISTFILES)
config.h: configure config.h.pre config.h.post $(TESTSRCS)
rm -f config.log
- CC="$(CC)" CFLAGS="$(CFLAGS)" VERSION="$(VERSION)" ./configure
+ CC="$(CC)" CFLAGS="$(CFLAGS)" DBLIB="$(DBLIB)" \
+ VERSION="$(VERSION)" ./configure
.PHONY: base-install cgi-install db-install install www-install
.PHONY: clean depend