Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 17:05:53 GMT
From:      Norbert Koch<nkoch@demig.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/108842: [patch] mimedefang and sendmail from ports
Message-ID:  <200702061705.l16H5r8K099392@www.freebsd.org>
Resent-Message-ID: <200702061710.l16HAoF8069810@freefall.freebsd.org>

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

>Number:         108842
>Category:       ports
>Synopsis:       [patch] mimedefang and sendmail from ports
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 06 17:10:47 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Norbert Koch
>Release:        6.1
>Organization:
>Environment:
FreeBSD firewall.demig 6.1-RELEASE-p11 FreeBSD 6.1-RELEASE-p11 #0: Thu Dec 28 13:48:00 CET 2006     root@firewall.demig:/usr/obj/usr/src/sys/FIREWALL  i386

>Description:
I am running /usr/local/sbin/sendmail from ports.
When I try to install mail/mimedefang I find it to insist in using
/usr/include/libmilter instead of /usr/local/include/libmilter,
making mimedefang fail during milter initialization.
>How-To-Repeat:

>Fix:
I suggest the following patch:

--- Makefile.old        Sun Feb  4 10:53:17 2007
+++ Makefile    Tue Feb  6 17:54:37 2007
@@ -49,6 +49,11 @@
 BUILD_DEPENDS+=        ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
 .endif

+.if exists( /usr/local/include/libmilter/mfapi.h )
+CONFIGURE_ARGS+= --with-milterinc=${LOCALBASE}/include
+CONFIGURE_ARGS+= --with-milterlib=${LOCALBASE}/lib
+.endif
+
 .if ${PERL_LEVEL} < 500601
 IGNORE=                requires perl 5.6.1 or later. Install lang/perl5 or lang/perl5.8 then try again
 .endif

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



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