diff --git a/python/py-mypy/Portfile b/python/py-mypy/Portfile index 989d8a0684d49..671accaa4d697 100644 --- a/python/py-mypy/Portfile +++ b/python/py-mypy/Portfile @@ -3,6 +3,7 @@ PortSystem 1.0 PortGroup python 1.0 PortGroup select 1.0 +PortGroup compiler_blacklist_versions 1.0 name py-mypy version 1.13.0 @@ -37,7 +38,8 @@ if {${name} ne ${subport}} { } compiler.blacklist-append \ - *gcc-4.0 *gcc-4.2 + *gcc-4.0 *gcc-4.2 \ + {clang < 602} build.env-append MYPY_USE_MYPYC=1