diff options
author | Renato Botelho <garga@FreeBSD.org> | 2011-02-21 19:35:52 +0800 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2011-02-21 19:35:52 +0800 |
commit | eb8d173c4819b62ebc9aa46f4a189b63ae722a16 (patch) | |
tree | 51a3a5f7699b9114b58ebd740f4699c1f739d86c /security | |
parent | d605471874500698618472a3377d7c53f2707bc9 (diff) | |
download | freebsd-ports-gnome-eb8d173c4819b62ebc9aa46f4a189b63ae722a16.tar.gz freebsd-ports-gnome-eb8d173c4819b62ebc9aa46f4a189b63ae722a16.tar.zst freebsd-ports-gnome-eb8d173c4819b62ebc9aa46f4a189b63ae722a16.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/Makefile | 2 | ||||
-rw-r--r-- | security/clamav/Makefile | 2 |
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 |