summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authortv <tv>2005-07-14 02:26:09 +0000
committertv <tv>2005-07-14 02:26:09 +0000
commite6c3dd600b35bdb34d0bd82d83c73c5a26fce6ae (patch)
treeea12fcfd078d0d7749eb37b2cce3fe86ab887a82 /mail
parentf27de9e6dce916903228cd4a63d069dc4632ef22 (diff)
downloadpkgsrc-e6c3dd600b35bdb34d0bd82d83c73c5a26fce6ae.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')
-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=