Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Apr 2007 18:32:28 -0400 (EDT)
From:      Thomas Abthorpe <thomas@goodking.ca>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        thomas@goodking.ca
Subject:   ports/111336: [MAINTAINER] mail/spamass-milter: fix logic WITH_SENDMAIL_BASE
Message-ID:  <200704062232.l36MWS85082580@goodking.goodking.ca>
Resent-Message-ID: <200704062240.l36Me3JS021290@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         111336
>Category:       ports
>Synopsis:       [MAINTAINER] mail/spamass-milter: fix logic WITH_SENDMAIL_BASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 06 22:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Abthorpe
>Release:        FreeBSD 6.2-RELEASE-p3 i386
>Organization:
GoodKing.Ca
>Environment:
System: FreeBSD goodking.goodking.ca 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #2: Fri Mar 16 16:20:06 EDT 2007
>Description:
- fix logic WITH_SENDMAIL_BASE
- thanks to Sergey Mokryshev <mokr_(at)_mokr_net> for the code snip

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- spamass-milter-0.3.1_3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/spamass-milter/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- Makefile	1 Dec 2006 23:39:44 -0000	1.25
+++ Makefile	6 Apr 2007 22:30:35 -0000
@@ -49,10 +49,10 @@
 WITH_SENDMAIL_BASE=yes
 .endif
 
-.if defined(WITH_SENDMAIL_BASE) && exists(/usr/lib/libmilter.a)
+.if defined(WITH_SENDMAIL_BASE)
+.if exists(/usr/lib/libmilter.a)
 MILTERBASE=	/usr
 .else
-.if !exists(/usr/lib/libmilter.a)
 BROKEN=	Base system sendmail not found or too old, rebuild with WITH_SENDMAIL_PORT=yes
 .endif
 .endif
--- spamass-milter-0.3.1_3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704062232.l36MWS85082580>