summaryrefslogtreecommitdiff
path: root/mail/clamav
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-07-14 02:26:09 +0000
committertv <tv@pkgsrc.org>2005-07-14 02:26:09 +0000
commit3fd560be8d62f03c40af54424f2f903c0d8c0bc4 (patch)
treeea12fcfd078d0d7749eb37b2cce3fe86ab887a82 /mail/clamav
parente049e63bad0d94a44a6c632771c4fe08277e5adc (diff)
downloadpkgsrc-3fd560be8d62f03c40af54424f2f903c0d8c0bc4.tar.gz
Force use of pkgsrc libmilter, not builtin. If the builtin version is 8.12
(as with NetBSD 2, for instance), but pkgsrc sendmail 8.13 is installed, then clamav will attempt to use the 8.13 milter API, and fail linking. (It probably should use an autoconf symbol test instead.) This change forces an API at least new enough to match the latest version offered via pkgsrc; and since libmilter is a static library, it still ends up with no runtime DEPENDS. No PKGREVISION bump required, as milter is a non-default option.
Diffstat (limited to 'mail/clamav')
-rw-r--r--mail/clamav/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/clamav/Makefile b/mail/clamav/Makefile
index a09d3398b30..acaa4c9e398 100644
--- a/mail/clamav/Makefile
+++ b/mail/clamav/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2005/06/24 05:58:42 grant Exp $
+# $NetBSD: Makefile,v 1.42 2005/07/14 02:26:09 tv Exp $
DISTNAME= clamav-${CLAMAV_VERSION}
PKGNAME= clamav-${CLAMAV_VERSION:S/-/./}
@@ -61,6 +61,10 @@ PKG_SUGGESTED_OPTIONS= curl
.include "../../mk/bsd.options.mk"
.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
+# libmilter as pkgsrc is capable of providing
+USE_BUILTIN.libmilter= no
. include "../../mail/libmilter/buildlink3.mk"
CONFIGURE_ARGS+= --enable-milter
PLIST_SUBST+= MILTER=