Date: Fri, 21 Oct 2011 11:34:52 GMT From: Alexey Markov <redrat@mail.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/161872: Port security/clamav requires libcheck as dependence even if TEST option is off Message-ID: <201110211134.p9LBYqNo049484@red.freebsd.org> Resent-Message-ID: <201110211140.p9LBe9B5063718@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 161872 >Category: ports >Synopsis: Port security/clamav requires libcheck as dependence even if TEST option is off >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 21 11:40:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alexey Markov >Release: 8.2-RELEASE-p4 >Organization: JSC Complitex >Environment: FreeBSD meson.complitex.ru 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #0: Mon Oct 17 11:44:31 MSD 2011 redrat@meson.complitex.ru:/arc/obj/arc/src/sys/MESON amd64 >Description: Port security/clamav requires deve/libcheck as dependence even if TESTS option is off. >How-To-Repeat: cd /usr/ports/security/clamav make config (and set TESTS option to off) make all-depends-list >Fix: --- Makefile.old 2011-10-19 16:07:37.000000000 +0400 +++ Makefile 2011-10-21 15:13:33.000000000 +0400 @@ -192,7 +192,7 @@ CFLAGS+= -march=i486 .endif -.if ${OSVERSION} >= 700000 +.if defined(WITH_TESTS) && ${OSVERSION} >= 700000 BUILD_DEPENDS+= ${LOCALBASE}/include/check.h:${PORTSDIR}/devel/libcheck CONFIGURE_ARGS+=--enable-check .else >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110211134.p9LBYqNo049484>