Make py-simplejson a depend if python is below 2.6.
PR: ports/160388 Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru>
This commit is contained in:
parent
38a84fbbec
commit
295171087d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281694
1 changed files with 6 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
|
||||
PORTNAME= deskbar-applet
|
||||
PORTVERSION= 2.32.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= deskutils gnome
|
||||
MASTER_SITES= GNOME
|
||||
DIST_SUBDIR= gnome2
|
||||
|
@ -17,8 +17,7 @@ MAINTAINER= gnome@FreeBSD.org
|
|||
COMMENT= Omnipresent versatile search interface
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus \
|
||||
${PYTHON_PKGNAMEPREFIX}simplejson>=2.0:${PORTSDIR}/devel/py-simplejson
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GETTEXT= yes
|
||||
|
@ -38,6 +37,10 @@ OPTIONS= EVO "Enable evolution support" on
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 260
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.0.9:${PORTSDIR}/devel/py-simplejson
|
||||
.endif
|
||||
|
||||
_OSRELEASE!= ${UNAME} -r
|
||||
|
||||
.if !defined(WITHOUT_EVO)
|
||||
|
|
Loading…
Reference in a new issue