security/clamav-milter fails to compile (preliminary patch included)
Carmel NY
carmel_ny at outlook.com
Sat Dec 22 16:53:12 UTC 2018
On Sat, 22 Dec 2018 17:14:11 +0100, Michael Grimm stated:
>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
Clamav-milter updated fine for me once I updated all of the installed ports
on my system. I am assuming that you did update your ports tree and then
update all of the ports on your system. If you don't, clamav-milter, and
several other ports, will fail.
--
Carmel
More information about the freebsd-ports
mailing list