diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-doit/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/py-doit/Makefile b/devel/py-doit/Makefile index eb1f5e8c2274..5e477f8a19a7 100644 --- a/devel/py-doit/Makefile +++ b/devel/py-doit/Makefile @@ -23,9 +23,14 @@ USE_PYTHON= distutils autoplist NO_ARCH= yes -.include <bsd.port.pre.mk> - do-test: @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest +.include <bsd.port.pre.mk> + +.if defined(PACKAGE_BUILDING) && !defined(PACKAGE_BUILDING_FLAVORS) && \ + ${PYTHON_VER} != ${PYTHON_DEFAULT} +IGNORE= you have python ${PYTHON_DEFAULT} set as the default, and this needs ${PYTHON_VER} +.endif + .include <bsd.port.post.mk> |