Fix the py-dbus dependency.

PR:		202003
This commit is contained in:
Joe Marcus Clarke 2015-08-10 00:29:59 +00:00
parent 05596b4887
commit 8520ff1591
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393836

View file

@ -3,7 +3,7 @@
PORTNAME= netatalk
PORTVERSION= 3.1.7
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net
MASTER_SITES= SF
@ -112,8 +112,9 @@ CONFIGURE_ARGS+= --disable-sendfile
.endif
.if ${PORT_OPTIONS:MDBUS} || exists(${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc)
USES+= python
LIB_DEPENDS+= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-python.pc:${PORTSDIR}/devel/pydbus-common
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dbus/_dbus.py:${PORTSDIR}/devel/py-dbus
PLIST_SUB+= DBUS=""
.else
PLIST_SUB+= DBUS="@comment "