Date: Sat, 22 Dec 2018 16:53:10 +0000 From: Carmel NY <carmel_ny@outlook.com> To: FreeBSD <freebsd-ports@freebsd.org> Subject: Re: security/clamav-milter fails to compile (preliminary patch included) Message-ID: <SN1PR20MB2109FC31F7E5471734185BE880B90@SN1PR20MB2109.namprd20.prod.outlook.com> In-Reply-To: <633326DC-E841-4ECC-ACA8-F67C9F4DA873@ellael.org> References: <633326DC-E841-4ECC-ACA8-F67C9F4DA873@ellael.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > =3D=3D=3D> Script "configure" failed unexpectedly. =20 > Please report the problem to yasu@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=3D ${WRKSRC}/COPYING >=20 > LIB_DEPENDS=3D libltdl.so:devel/libltdl \ >- libcurl.so:ftp/curl >+ libcurl.so:ftp/curl \ >+ libmilter.so:mail/libmilter >=20 > USES=3D cpe gmake gnome libtool ncurses pathfix pkgconfig ssl > USE_RC_SUBR=3D clamav-clamd clamav-freshclam >___________________________ patch ________________________________________= _ > >This patch works for me.=20 > >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-milt= er >by simply adding OPTIONS_SLAVE+=3D MILTER. Thus a libmilter dependency >will be added to users of plain security/clamav port as well.=20 > >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. --=20 Carmel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SN1PR20MB2109FC31F7E5471734185BE880B90>