aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2017-12-14 00:11:55 +0800
committerantoine <antoine@FreeBSD.org>2017-12-14 00:11:55 +0800
commit1758c7e37259a049deb63947273b93de22e4a94f (patch)
tree966fd530914630f746390add3e118a620c2635d1 /Mk
parent8baa14e264b4d93309c75c29a7eae5101304b37d (diff)
downloadfreebsd-ports-gnome-1758c7e37259a049deb63947273b93de22e4a94f.tar.gz
freebsd-ports-gnome-1758c7e37259a049deb63947273b93de22e4a94f.tar.zst
freebsd-ports-gnome-1758c7e37259a049deb63947273b93de22e4a94f.zip
Make py3gobject3 and pygobject3 synonyms
The requested version of python can be set via USES=python:version This change allows to build most ports depending on devel/py-gobject3 with DEFAULT_VERSIONS=python=3.x In the future, one of py3gobject3 or pygobject3 could be deprecated.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/gnome.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk
index 7bab1fdb636b..a7eee66058f9 100644
--- a/Mk/Uses/gnome.mk
+++ b/Mk/Uses/gnome.mk
@@ -390,13 +390,13 @@ pygobject_USE_GNOME_IMPL= glib20
# Have to keep two components because the _DETECT file is not the same.
py3gobject3_DETECT= ${LOCALBASE}/share/py3gobject3/.keep
-py3gobject3_BUILD_DEPENDS= py3?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
-py3gobject3_RUN_DEPENDS= py3?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
+py3gobject3_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
+py3gobject3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
py3gobject3_USE_GNOME_IMPL= glib20
pygobject3_DETECT= ${LOCALBASE}/share/pygobject3/.keep
-pygobject3_BUILD_DEPENDS= py2?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
-pygobject3_RUN_DEPENDS= py2?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
+pygobject3_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
+pygobject3_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
pygobject3_USE_GNOME_IMPL= glib20
pygtk2_DETECT= ${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc