aboutsummaryrefslogtreecommitdiff
path: root/net-im/poezio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/poezio/Makefile')
-rw-r--r--net-im/poezio/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/net-im/poezio/Makefile b/net-im/poezio/Makefile
index ab224cf43c0f..499534b2e07d 100644
--- a/net-im/poezio/Makefile
+++ b/net-im/poezio/Makefile
@@ -12,17 +12,10 @@ COMMENT= Console XMPP client
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dns/__init__.py:dns/py-dnspython \
- ${PYTHON_SITELIBDIR}/sleekxmpp/__init__.py:net-im/py-sleekxmpp
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dns/__init__.py:dns/py-dnspython@${FLAVOR} \
+ ${PYTHON_SITELIBDIR}/sleekxmpp/__init__.py:net-im/py-sleekxmpp@${FLAVOR}
USES= tar:xz python:3.3+
-USE_PYTHON= distutils autoplist
+USE_PYTHON= distutils autoplist optsuffix
-.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>
+.include <bsd.port.mk>