commit 8a307ac786c9e9b1fe4a3ab4eec92f6088d73ac3
parent 58245f257fa6bc36a0887db5f4f381d41dbe52dc
Author: Dirk Neukirchen <dirkneukirchen@web.de>
Date: Thu, 29 Jan 2015 18:27:13 +0100
bogofilter: remove host includes
- host GSL libs are sometimes found leading to errors
reported by buildbot, replicated locally (Arch Linux)
Error:
configure: GSL_LIBS=-L/usr/lib -lgsl -lgslcblas -lm
leading to
/usr/include/features.h:398:23: fatal error: gnu/stubs.h: No such file or directory
- explicit libdb location to prevent host includes
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile
@@ -35,7 +35,10 @@ define Package/bogofilter/description
Bogofilter is a fast Bayesian spam filter
endef
-CONFIGURE_ARGS += --disable-unicode
+CONFIGURE_ARGS += \
+ --disable-unicode \
+ --with-libdb-prefix=$(STAGING_DIR) \
+ --with-included-gsl
define Package/bogofilter/install
$(INSTALL_DIR) $(1)/etc/ \