security/clamav-milter fails to compile (preliminary patch included)
Michael Grimm
trashcan at ellael.org
Sat Dec 22 16:14:24 UTC 2018
Hi,
after upgrading from STABLE-11 to STABLE-12 security/clamav-milter failed to compile:
configure: error: Cannot find libmilter
===> Script "configure" failed unexpectedly.
Please report the problem to yasu at utahime.org [maintainer] and attach the
"/wrkdirs/usr/ports/security/clamav-milter/work/clamav-0.100.2/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
It looks to me that starting STABLE-12 one needs to add library dependency to mail/libmilter:
___________________________ patch _________________________________________
--- security/clamav/Makefile.old 2018-12-22 16:43:04.913880000 +0100
+++ security/clamav/Makefile 2018-12-22 16:51:53.618789000 +0100
@@ -13,7 +13,8 @@
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libltdl.so:devel/libltdl \
- libcurl.so:ftp/curl
+ libcurl.so:ftp/curl \
+ libmilter.so:mail/libmilter
USES= cpe gmake gnome libtool ncurses pathfix pkgconfig ssl
USE_RC_SUBR= clamav-clamd clamav-freshclam
___________________________ patch _________________________________________
This patch works for me.
BUT: I do not know if this is the right way to fix it, because this patch is applied to security/clamav which in turn is used from security/clamav-milter by simply adding OPTIONS_SLAVE+= MILTER. Thus a libmilter dependency will be added to users of plain security/clamav port as well.
Regards,
Michael
More information about the freebsd-ports
mailing list