aboutsummaryrefslogtreecommitdiff
path: root/mail/mimedefang
diff options
context:
space:
mode:
authorWes Peters <wes@FreeBSD.org>2007-02-12 18:24:45 +0000
committerWes Peters <wes@FreeBSD.org>2007-02-12 18:24:45 +0000
commitfe41cb24c79e9558d8172a62cf225b1e5161980e (patch)
treeaf1aa7c91a77865ef24a83f06eef576ac00145e6 /mail/mimedefang
parentd083e01edf1622e45a2ad304629e3dbbdcfc3dcd (diff)
downloadports-fe41cb24c79e9558d8172a62cf225b1e5161980e.tar.gz
ports-fe41cb24c79e9558d8172a62cf225b1e5161980e.zip
Use libmilter from ports (/usr/local/...) if it exists, assuming
the user intends to use the sendmail from ports. PR: ports/108842 Submitted by: Norbert Koch <nkoch@demig.de>
Notes
Notes: svn path=/head/; revision=185026
Diffstat (limited to 'mail/mimedefang')
-rw-r--r--mail/mimedefang/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mimedefang/Makefile b/mail/mimedefang/Makefile
index 281d69cff117..f2e0269a6614 100644
--- a/mail/mimedefang/Makefile
+++ b/mail/mimedefang/Makefile
@@ -49,6 +49,11 @@ MAN8= mimedefang.8 mimedefang.pl.8 mimedefang-multiplexor.8 \
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