pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/clamav Force use of pkgsrc libmilter, not builtin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/455496caae3a
branches:  trunk
changeset: 496833:455496caae3a
user:      tv <tv%pkgsrc.org@localhost>
date:      Thu Jul 14 02:26:09 2005 +0000

description:
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:

 mail/clamav/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 811024fcfbb4 -r 455496caae3a mail/clamav/Makefile
--- a/mail/clamav/Makefile      Thu Jul 14 02:24:55 2005 +0000
+++ b/mail/clamav/Makefile      Thu Jul 14 02:26:09 2005 +0000
@@ -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 @@
 .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=



Home | Main Index | Thread Index | Old Index