summaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/jabber-pyicq/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-im/jabber-pyicq/Makefile b/net-im/jabber-pyicq/Makefile
index ef30490..13fcf2b 100644
--- a/net-im/jabber-pyicq/Makefile
+++ b/net-im/jabber-pyicq/Makefile
@@ -17,10 +17,10 @@ MAINTAINER= garga@FreeBSD.org
COMMENT= Python ICQ-Transport for Jabber
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/__init__.py:${PORTSDIR}/security/py-openssl \
- ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted \
- ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
+ ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted
-OPTIONS= EJABBERD "Use transport with ejabberd" off
+OPTIONS= EJABBERD "Use transport with ejabberd" off \
+ X11 "Use X11 (required to avatars working)" on
NO_BUILD= yes
USE_PYTHON= yes
@@ -41,6 +41,10 @@ JABBER_USER?= ejabberd
JABBER_USER?= jabber
.endif
+.if !defined(WITHOUT_X11)
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging
+.endif
+
SUB_LIST+= JABBER_USER=${JABBER_USER}
post-extract:
OpenPOWER on IntegriCloud