From: Elan Ruusamäe Date: Fri, 14 Apr 2006 14:29:52 +0000 (+0000) Subject: - rel 7: fix build when sendmail binary is not present X-Git-Tag: auto/ac/amavisd-0_1-7 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=5645dbcbe68fda2c7b71d5d93f387a80c64855bb;p=packages%2Famavisd.git - rel 7: fix build when sendmail binary is not present Changed files: amavisd.spec -> 1.61 --- diff --git a/amavisd.spec b/amavisd.spec index a9f7359..ada8c59 100644 --- a/amavisd.spec +++ b/amavisd.spec @@ -6,7 +6,7 @@ Summary: A Mail Virus Scanner - Daemon Summary(pl): Antywirusowy skaner poczty elektronicznej - Demon Name: amavisd Version: 0.1 -Release: 6 +Release: 7 Epoch: 1 License: GPL Group: Applications/Mail @@ -61,6 +61,9 @@ Obsoletes: amavis Obsoletes: amavisd-new BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +# needs fix somewhere +%undefine with_ccache + %description AMaViS is a script that interfaces a mail transport agent (MTA) with one or more virus scanners. This is daemonized version of amavis. @@ -185,6 +188,7 @@ rm -f missing %{__automake} %{__autoconf} %configure \ + --with-sendmail-wrapper=/usr/lib/sendmail \ --enable-smtp \ --enable-postfix \ --enable-all \ @@ -199,6 +203,7 @@ rm -f missing mv amavis/amavisd amavis/amavisd.postfix %configure \ + --with-sendmail-wrapper=/usr/lib/sendmail \ --disable-smtp \ --enable-exim \ --enable-all \ @@ -214,6 +219,7 @@ mv amavis/amavisd amavis/amavisd.exim #NFY %configure \ + --with-sendmail-wrapper=/usr/lib/sendmail \ --disable-smtp \ --enable-qmail \ --enable-all \ @@ -229,6 +235,7 @@ mv amavis/amavisd amavis/amavisd.qmail mv amavis/amavis amavis/amavis.qmail-queue %configure \ + --with-sendmail-wrapper=/usr/lib/sendmail \ --disable-smtp \ --enable-sendmail \ --enable-all \