From owner-freebsd-ports@freebsd.org Sat Dec 22 16:14:24 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90CC013574CB for ; Sat, 22 Dec 2018 16:14:24 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [IPv6:2001:41d0:401:2100::5:8a0e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2BAA8CECA for ; Sat, 22 Dec 2018 16:14:23 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from [IPv6:2003:e9:7f21:8a01:58c3:8d49:d952:88a7] (p200300E97F218A0158C38D49D95288A7.dip0.t-ipconnect.de [IPv6:2003:e9:7f21:8a01:58c3:8d49:d952:88a7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.enfer-du-nord.net (Postfix) with ESMTPSA id 43MVtX1FRPz14w; Sat, 22 Dec 2018 17:14:12 +0100 (CET) From: Michael Grimm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: security/clamav-milter fails to compile (preliminary patch included) Message-Id: <633326DC-E841-4ECC-ACA8-F67C9F4DA873@ellael.org> Date: Sat, 22 Dec 2018 17:14:11 +0100 Cc: yasu@utahime.org To: Mailing List FreeBSD Ports X-Mailer: Apple Mail (2.3445.102.3) X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,RDNS_NONE,TW_KG autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.kaan-bock.lan X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Dec 2018 16:14:24 -0000 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