ports/108842: [patch] mimedefang and sendmail from ports
Norbert Koch
nkoch at demig.de
Tue Feb 6 17:10:50 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list