diff options
-rw-r--r-- | net-im/poezio/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net-im/poezio/Makefile b/net-im/poezio/Makefile index eda5a10a0b1c..239cf2a0385f 100644 --- a/net-im/poezio/Makefile +++ b/net-im/poezio/Makefile @@ -17,4 +17,10 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dns/__init__.py:${PORTSDIR}/dns/py-dnspython \ USES= tar:xz python:3.2+ USE_PYTHON= distutils autoplist -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(PACKAGE_BUILDING) && ${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> |