git: f08c70e21923 - main - devel/py-numba: Remove BROKEN and disable TBB instead

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 05 Oct 2022 15:38:30 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f08c70e21923fcf2e37f087bddbcc1abd6a336b5

commit f08c70e21923fcf2e37f087bddbcc1abd6a336b5
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-05 15:20:13 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-05 15:38:27 +0000

    devel/py-numba: Remove BROKEN and disable TBB instead
    
    numba is not compatible with onetbb-2021.6.0
    
    Approved by:    portmgr (unbreak)
---
 devel/py-numba/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/py-numba/Makefile b/devel/py-numba/Makefile
index ca658f6189bc..5ec716d6b3f3 100644
--- a/devel/py-numba/Makefile
+++ b/devel/py-numba/Makefile
@@ -11,7 +11,6 @@ WWW=		https://numba.pydata.org/
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		not compatible with onetbb-2021.6.0, see https://github.com/numba/numba/issues/8487
 .if !exists(/usr/include/omp.h)
 BROKEN=		requires OpenMP support that is missing on this architecture
 .endif
@@ -23,6 +22,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}llvmlite>=0.31.0:devel/py-llvmlite@${PY_FLAV
 USES=		compiler:c++11-lang python:3.6+ fortran localbase
 USE_PYTHON=	distutils concurrent autoplist unittest
 
+MAKE_ENV=	NUMBA_DISABLE_TBB=1 # workaround for: not compatible with onetbb-2021.6.0, see https://github.com/numba/numba/issues/8487
 TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
 TEST_WRKSRC=	${WRKSRC}/numba/tests