diff options
Diffstat (limited to 'mail/clamav/options.mk')
-rw-r--r-- | mail/clamav/options.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/clamav/options.mk b/mail/clamav/options.mk index c62df15397c..da405bb594c 100644 --- a/mail/clamav/options.mk +++ b/mail/clamav/options.mk @@ -1,10 +1,12 @@ -# $NetBSD: options.mk,v 1.3 2007/07/11 17:44:22 xtraeme Exp $ +# $NetBSD: options.mk,v 1.4 2008/04/12 22:43:03 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.clamav PKG_SUPPORTED_OPTIONS= milter clamav-experimental .include "../../mk/bsd.options.mk" +PLIST_VARS+= milter + .if !empty(PKG_OPTIONS:Mmilter) # force use of pkgsrc version of libmilter -- clamav uses the sendmail binary # to check API compatibility(!), so it must build with as new a version of @@ -12,12 +14,11 @@ PKG_SUPPORTED_OPTIONS= milter clamav-experimental USE_BUILTIN.libmilter= no . include "../../mail/libmilter/buildlink3.mk" CONFIGURE_ARGS+= --enable-milter -PLIST_SUBST+= MILTER= +PLIST.milter= yes .else CONFIGURE_ARGS+= --disable-milter # XXX --disable-milter doesn't work as expected, so we need this CONFIGURE_ENV+= ac_cv_header_libmilter_mfapi_h=no -PLIST_SUBST+= MILTER="@comment " .endif .if !empty(PKG_OPTIONS:Mclamav-experimental) |