Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2018 17:14:11 +0100
From:      Michael Grimm <trashcan@ellael.org>
To:        Mailing List FreeBSD Ports <freebsd-ports@FreeBSD.org>
Cc:        yasu@utahime.org
Subject:   security/clamav-milter fails to compile (preliminary patch included)
Message-ID:  <633326DC-E841-4ECC-ACA8-F67C9F4DA873@ellael.org>

next in thread | raw e-mail | index | archive | help
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.
	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-milter 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?633326DC-E841-4ECC-ACA8-F67C9F4DA873>