ports/55611: Clamav port package build fails on 5.x when NO_SENDMAIL is set

Pat Lashley patl+freebsd at volant.org
Fri Aug 15 17:50:16 UTC 2003


>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 at 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:



More information about the freebsd-ports-bugs mailing list