aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2011-02-21 19:35:52 +0800
committergarga <garga@FreeBSD.org>2011-02-21 19:35:52 +0800
commitedfca9414ad12f61b0cd4f775089004ac95f1721 (patch)
treea52e3e79b510f5360e5e1b6e53dd6e51c7744efd /security
parent3d6f64a14bafcc35df18f57ab7c05c59143cb7d4 (diff)
downloadfreebsd-ports-gnome-edfca9414ad12f61b0cd4f775089004ac95f1721.tar.gz
freebsd-ports-gnome-edfca9414ad12f61b0cd4f775089004ac95f1721.tar.zst
freebsd-ports-gnome-edfca9414ad12f61b0cd4f775089004ac95f1721.zip
Fix detection if python was built with threads support and run make check
accordingly PR: ports/154848 Submitted by: Martin Simmons <martin@lispworks.com>
Diffstat (limited to 'security')
-rw-r--r--security/clamav-devel/Makefile2
-rw-r--r--security/clamav/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/clamav-devel/Makefile b/security/clamav-devel/Makefile
index 722fb8ea55de..78e89fa88c28 100644
--- a/security/clamav-devel/Makefile
+++ b/security/clamav-devel/Makefile
@@ -219,7 +219,7 @@ pre-configure:
.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
diff --git a/security/clamav/Makefile b/security/clamav/Makefile
index ad42f1c08ef5..679600536ad3 100644
--- a/security/clamav/Makefile
+++ b/security/clamav/Makefile
@@ -218,7 +218,7 @@ pre-configure:
.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