Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2011 17:16:56 GMT
From:      Martin Simmons <martin@lispworks.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/154848: security/clamav doesn't run the post-build check
Message-ID:  <201102171716.p1HHGu1n098155@red.freebsd.org>
Resent-Message-ID: <201102171720.p1HHKBMB056050@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102171716.p1HHGu1n098155>