diff --git a/devel/pydbus-common/Makefile b/devel/pydbus-common/Makefile index 9144fa16ba08..33cb2fb94ad2 100644 --- a/devel/pydbus-common/Makefile +++ b/devel/pydbus-common/Makefile @@ -1,6 +1,6 @@ # Created by: Gustau Perez i Querol # $FreeBSD$ -# $MCom: ports/trunk/devel/pydbus-common/Makefile 19685 2014-05-25 13:11:28Z kwm $ +# $MCom: ports/trunk/devel/pydbus-common/Makefile 19804 2014-08-13 14:55:11Z kwm $ PORTNAME= dbus PORTVERSION= 1.1.1 @@ -26,7 +26,7 @@ CONFIGURE_ARGS= --docdir=${DOCSDIR} \ INSTALL_TARGET= install-strip .if ${SLAVE_PORT} == no -USE_PYTHON_BUILD= 2 +USES+= python:2,build DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} @@ -70,10 +70,10 @@ LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib RUN_DEPENDS+= pydbus-common>=0:${PORTSDIR}/devel/pydbus-common USE_LDCONFIG= yes .if ${SLAVE_PORT} == python2 -USE_PYTHON= 2 +USES+= python:2 .endif .if ${SLAVE_PORT} == python3 -USE_PYTHON= 3 +USES+= python:3 .endif post-install: