[bogofilter] add new libdb4 include path to configure options

Adrian Reber adrian at fedoraproject.org
Thu Jul 26 13:02:04 UTC 2012


commit e27266440969411ceb0302bd2ff2e1c9286f20c4
Author: Adrian Reber <adrian at lisas.de>
Date:   Thu Jul 26 15:01:59 2012 +0200

    add new libdb4 include path to configure options

 bogofilter.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bogofilter.spec b/bogofilter.spec
index d975cff..83e4615 100644
--- a/bogofilter.spec
+++ b/bogofilter.spec
@@ -41,7 +41,7 @@ iconv -f iso-8859-1 -t utf-8 \
  doc/bogofilter-faq-fr.html
 
 %build
-%configure --disable-rpath --with-libdb-prefix=%{_includedir}/libdb4
+CFLAGS="%{optflags} -I%{_includedir}/libdb4" LDFLAGS="-L%{_libdir}/libdb4" %configure --disable-rpath
 %{__make} %{?_smp_mflags}
 
 %install


More information about the scm-commits mailing list