svn commit: r426230 - head/mail/rmilter
Vsevolod Stakhov
vsevolod at FreeBSD.org
Wed Nov 16 09:53:57 UTC 2016
Author: vsevolod
Date: Wed Nov 16 09:53:55 2016
New Revision: 426230
URL: https://svnweb.freebsd.org/changeset/ports/426230
Log:
- Remove obsolete libmemcached dependency
- Add DKIM signing option
PR: 212302
Submitted by: Alexander Moisseev <moiseev at mezonplus.ru>
Modified:
head/mail/rmilter/Makefile
Modified: head/mail/rmilter/Makefile
==============================================================================
--- head/mail/rmilter/Makefile Wed Nov 16 09:50:06 2016 (r426229)
+++ head/mail/rmilter/Makefile Wed Nov 16 09:53:55 2016 (r426230)
@@ -2,6 +2,7 @@
PORTNAME= rmilter
PORTVERSION= 1.9.2
+PORTREVISION= 1
CATEGORIES= mail
MAINTAINER= vsevolod at FreeBSD.org
@@ -9,9 +10,7 @@ COMMENT= Milter that performs rspamd, cl
LICENSE= BSD2CLAUSE
-LIB_DEPENDS= libpcre.so:devel/pcre \
- libopendkim.so:mail/opendkim \
- libmemcached.so:databases/libmemcached
+LIB_DEPENDS= libpcre.so:devel/pcre
BROKEN_armv6= Fails to configure in cmake
BROKEN_mips= Fails to compile: error: Unsupported word size
@@ -27,16 +26,24 @@ USE_GNOME= glib20
USERS= _rmilter
GROUPS= _rmilter
-CMAKE_ARGS+= -DENABLE_DKIM=ON
-
WITH_SENDMAIL_BASE= yes
+OPTIONS_DEFINE= DKIM
+OPTIONS_DEFAULT= DKIM
+
+DKIM_DESC= DKIM signing support
+DKIM_LIB_DEPENDS= libopendkim.so:mail/opendkim
+
.include <bsd.port.pre.mk>
# Workaround to prevent bsd.milter.mk from breaking the build with the recent clang
WITHOUT_MILTER_LDFLAGS= yes
.include "${PORTSDIR}/mail/sendmail/bsd.milter.mk"
+.if ! ${PORT_OPTIONS:MDKIM}
+CMAKE_ARGS+= -DENABLE_DKIM=OFF
+.endif
+
post-patch:
${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${WRKSRC}/freebsd/rmilter > ${WRKDIR}/rmilter
More information about the svn-ports-all
mailing list