Date: Fri, 15 Aug 2003 10:48:53 -0700 From: Pat Lashley <patl+freebsd@volant.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/55611: Clamav port package build fails on 5.x when NO_SENDMAIL is set Message-ID: <E19nih3-000LFQ-00@knight.volant.org> Resent-Message-ID: <200308151750.h7FHoDrn008771@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 55611 >Category: ports >Synopsis: Clamav port package build fails on 5.x when NO_SENDMAIL is set >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 15 10:50:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Pat Lashley >Release: FreeBSD 4.8-RC i386 >Organization: Henry Davis Consulting >Environment: FreeBSD ports.local.volant.org 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #1: Tue Aug 12 21:55:46 PDT 2003 broot@quick.volant.org:/usr/obj/usr/src/sys/QUICK i386 >Description: When building the clamav port on FreeBSD 5.x, the Makefile will add options to build a milter for sendmail. If sendmail is not installed, the milter build fails. The clamav installation does succeed without this file; but 'make package' fails because it can't find sbin/clamav-milter. >How-To-Repeat: Build or install a FreeBSD 5.x system without sendmail. cd /usr/ports/security/clamav ; make package >Fix: The following patch adds a check for the NO_SENDMAIL make.conf option to the OS version test. When NO_SENMAIL is set, it will not try to build the milter. --- Makefile.~1~ Tue Jul 8 01:15:55 2003 +++ Makefile Wed Aug 13 18:37:23 2003 @@ -38,7 +38,7 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} > 500000 +.if ${OSVERSION} > 500000 && ! defined(NO_SENDMAIL) CONFIGURE_ARGS+=--enable-milter PLIST_SUB+= CLAMAV-MILTER:="" .else >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19nih3-000LFQ-00>