From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 17 17:20:12 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0EA311065697 for ; Thu, 17 Feb 2011 17:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 770BE8FC1A for ; Thu, 17 Feb 2011 17:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p1HHKBX3056051 for ; Thu, 17 Feb 2011 17:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p1HHKBMB056050; Thu, 17 Feb 2011 17:20:11 GMT (envelope-from gnats) Resent-Date: Thu, 17 Feb 2011 17:20:11 GMT Resent-Message-Id: <201102171720.p1HHKBMB056050@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Simmons Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12F721065670 for ; Thu, 17 Feb 2011 17:16:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 00FE08FC14 for ; Thu, 17 Feb 2011 17:16:57 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p1HHGuxE098156 for ; Thu, 17 Feb 2011 17:16:56 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p1HHGu1n098155; Thu, 17 Feb 2011 17:16:56 GMT (envelope-from nobody) Message-Id: <201102171716.p1HHGu1n098155@red.freebsd.org> Date: Thu, 17 Feb 2011 17:16:56 GMT From: Martin Simmons To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/154848: security/clamav doesn't run the post-build check X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Feb 2011 17:20:12 -0000 >Number: 154848 >Category: ports >Synopsis: security/clamav doesn't run the post-build check >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 17 17:20:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Martin Simmons >Release: 8.0-RELEASE-p6 with security/clamav cvs head >Organization: >Environment: >Description: The build-in self checks of clamav are no longer run when building the security/clamav port. >How-To-Repeat: cd /usr/ports/security/clamav make and notice that it doesn't print anything about checks. >Fix: I think the check for python thread support broke this: the post-build condition is reversed. It works with the attached patch.diff. Patch attached with submission follows: --- Makefile.orig 2011-02-08 12:13:53.000000000 +0000 +++ Makefile 2011-02-17 14:53:00.969491495 +0000 @@ -218,7 +218,7 @@ .if defined(WITH_TESTS) && ${OSVERSION} >= 700000 post-build: - @if [ -f "${PY_NO_THREAD}" ]; then \ + @if [ ! -f "${PY_NO_THREAD}" ]; then \ ${MAKE} -C ${WRKSRC} check; \ fi .endif >Release-Note: >Audit-Trail: >Unformatted: