From 8a307ac786c9e9b1fe4a3ab4eec92f6088d73ac3 Mon Sep 17 00:00:00 2001 From: Dirk Neukirchen Date: Thu, 29 Jan 2015 18:27:13 +0100 Subject: [PATCH] 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 --- mail/bogofilter/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mail/bogofilter/Makefile b/mail/bogofilter/Makefile index de3646b011..d31dfa8c1c 100644 --- 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/ \