Switch to using default Python only for DBUS file generation.

PR:		237199
Submitted by:	gahr
This commit is contained in:
Joe Marcus Clarke 2019-04-12 20:39:43 +00:00
parent d0d7addef8
commit 7089aeef60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=498743

View File

@ -3,7 +3,7 @@
PORTNAME?= libpurple
PORTVERSION= 2.13.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES?= net-im
MASTER_SITES= SF/pidgin/Pidgin/${PORTVERSION}
DISTNAME= pidgin-${PORTVERSION}
@ -24,7 +24,7 @@ INSTALL_TARGET= install-strip
.if !defined(PIDGIN_SLAVE)
# Pidgin slave ports that require the following functionality, must explicitly
# set these macros themselves.
USES+= iconv python:2.7 shebangfix
USES+= iconv shebangfix
USE_LDCONFIG= yes
SHEBANG_FILES= libpurple/purple-remote \
libpurple/purple-url-handler
@ -206,11 +206,12 @@ CONFIGURE_ARGS+= --disable-gtkspell
.endif
.if ${PORT_OPTIONS:MDBUS}
USES+= python
LIB_DEPENDS+= libdbus-glib-1.so:devel/dbus-glib
.if !defined(PIDGIN_SLAVE)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR}
.endif
CONFIGURE_ARGS+= --enable-dbus
CONFIGURE_ARGS+= --enable-dbus --with-python=${PYTHON_CMD}
PLIST_SUB+= DBUS=""
.else
CONFIGURE_ARGS+= --disable-dbus