aboutsummaryrefslogtreecommitdiff
path: root/mail/opendmarc
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-03-19 19:38:48 +0000
committerJohn Marino <marino@FreeBSD.org>2015-03-19 19:38:48 +0000
commit68517d8ee096a6d1e71465c0d6c839b996a45ed0 (patch)
treeeb902d4bb3c5d2f6db22635bd56e8cf867a54746 /mail/opendmarc
parenta6a8ed7e09f961782eba2c06b411dba5deeed167 (diff)
downloadports-68517d8ee096a6d1e71465c0d6c839b996a45ed0.tar.gz
ports-68517d8ee096a6d1e71465c0d6c839b996a45ed0.zip
five milter ports: Add or improve support on systems missing sendmail
In some cases no-sendmail support was in place but missing CFLAGS or LDFLAGS, but in others it needed to be added. Problems found as a result of DragonFly removing sendmail from base. Approved by: just fix it.
Notes
Notes: svn path=/head/; revision=381679
Diffstat (limited to 'mail/opendmarc')
-rw-r--r--mail/opendmarc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/opendmarc/Makefile b/mail/opendmarc/Makefile
index bcad8d03c911..28c6ee753a23 100644
--- a/mail/opendmarc/Makefile
+++ b/mail/opendmarc/Makefile
@@ -19,6 +19,11 @@ LICENSE_GROUPS_SENDMAIL= FSF OSI
LICENSE_NAME_SENDMAIL= Sendmail Open Source License
LICENSE_PERMS_SENDMAIL= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+.if !exists( /usr/include/libmilter/mfapi.h )
+BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
+CFLAGS+= -I${LOCALBASE}/include
+.endif
+
USES= libtool shebangfix
SHEBANG_FILES= reports/opendmarc-expire.in \
reports/opendmarc-import.in \