ports/161872: Port security/clamav requires libcheck as dependence even if TEST option is off
Alexey Markov
redrat at mail.ru
Fri Oct 21 11:40:10 UTC 2011
>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 at 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:
More information about the freebsd-ports-bugs
mailing list