aboutsummaryrefslogtreecommitdiff
path: root/mail/milter-skem/Makefile
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/milter-skem/Makefile
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/milter-skem/Makefile')
-rw-r--r--mail/milter-skem/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/milter-skem/Makefile b/mail/milter-skem/Makefile
index 2b57198d7736..53e3e5c04549 100644
--- a/mail/milter-skem/Makefile
+++ b/mail/milter-skem/Makefile
@@ -9,6 +9,11 @@ MASTER_SITES= http://virtual-estates.net/skem/
MAINTAINER= mi@aldan.algebra.com
COMMENT= Cache earlier sendmail's verdicts for the relays
+.if !exists( /usr/include/libmilter/mfapi.h )
+BUILD_DEPENDS+= ${LOCALBASE}/include/libmilter/mfapi.h:${PORTSDIR}/mail/sendmail
+CFLAGS+= -I${LOCALBASE}/include
+.endif
+
USES= tar:bzip2 uidfix
PLIST_FILES= sbin/skem \