ports/154848: security/clamav doesn't run the post-build check
Martin Simmons
martin at lispworks.com
Thu Feb 17 17:20:12 UTC 2011
>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:
More information about the freebsd-ports-bugs
mailing list