Thu Sep 25 13:56:50 2014 UTC ()
Support builtin libmilter.


(jperkin)
diff -r1.4 -r1.5 pkgsrc/mail/opendkim/options.mk

cvs diff -r1.4 -r1.5 pkgsrc/mail/opendkim/options.mk (expand / switch to unified diff)

--- pkgsrc/mail/opendkim/options.mk 2013/01/05 17:05:07 1.4
+++ pkgsrc/mail/opendkim/options.mk 2014/09/25 13:56:50 1.5
@@ -1,39 +1,39 @@ @@ -1,39 +1,39 @@
1# $NetBSD: options.mk,v 1.4 2013/01/05 17:05:07 pettai Exp $ 1# $NetBSD: options.mk,v 1.5 2014/09/25 13:56:50 jperkin Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.opendkim 3PKG_OPTIONS_VAR= PKG_OPTIONS.opendkim
4PKG_SUPPORTED_OPTIONS= opendkim-filter debug dkim-stats vbr 4PKG_SUPPORTED_OPTIONS= opendkim-filter debug dkim-stats vbr
5PKG_SUGGESTED_OPTIONS= opendkim-filter 5PKG_SUGGESTED_OPTIONS= opendkim-filter
6 6
7.include "../../mk/bsd.options.mk" 7.include "../../mk/bsd.options.mk"
8 8
9### 9###
10### Debug support 10### Debug support
11### 11###
12.if !empty(PKG_OPTIONS:Mdebug) 12.if !empty(PKG_OPTIONS:Mdebug)
13CONFIGURE_ARGS+= --enable-debug 13CONFIGURE_ARGS+= --enable-debug
14.else 14.else
15CONFIGURE_ARGS+= --disable-debug 15CONFIGURE_ARGS+= --disable-debug
16.endif 16.endif
17 17
18### 18###
19### Install filter (milter) plugin 19### Install filter (milter) plugin
20### 20###
21.if !empty(PKG_OPTIONS:Mopendkim-filter) 21.if !empty(PKG_OPTIONS:Mopendkim-filter)
22EGDIR= ${PREFIX}/share/examples/opendkim 22EGDIR= ${PREFIX}/share/examples/opendkim
23RCD_SCRIPTS= opendkim 23RCD_SCRIPTS= opendkim
24 24
25CONFIGURE_ARGS+= --enable-filter 25CONFIGURE_ARGS+= --enable-filter
26CONFIGURE_ARGS+= --with-milter=${PREFIX} 26CONFIGURE_ARGS+= --with-milter=${BUILDLINK_PREFIX.libmilter}
27 27
28CONF_FILES= ${EGDIR}/opendkim.conf.sample \ 28CONF_FILES= ${EGDIR}/opendkim.conf.sample \
29 ${PKG_SYSCONFDIR}/opendkim.conf 29 ${PKG_SYSCONFDIR}/opendkim.conf
30 30
31INSTALLATION_DIRS= ${EGDIR} 31INSTALLATION_DIRS= ${EGDIR}
32 32
33post-install: 33post-install:
34 ${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample \ 34 ${INSTALL_DATA} ${WRKSRC}/opendkim/opendkim.conf.sample \
35 ${DESTDIR}${EGDIR}/opendkim.conf.sample 35 ${DESTDIR}${EGDIR}/opendkim.conf.sample
36 36
37PLIST_SRC+= ${PKGDIR}/PLIST.filter 37PLIST_SRC+= ${PKGDIR}/PLIST.filter
38.else 38.else
39CONFIGURE_ARGS+= --disable-filter 39CONFIGURE_ARGS+= --disable-filter