aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses/gnome.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/Uses/gnome.mk')
-rw-r--r--Mk/Uses/gnome.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/Mk/Uses/gnome.mk b/Mk/Uses/gnome.mk
index 63e3dbd4e244..7bab1fdb636b 100644
--- a/Mk/Uses/gnome.mk
+++ b/Mk/Uses/gnome.mk
@@ -388,14 +388,15 @@ pygobject_BUILD_DEPENDS= pygobject-codegen-2.0:devel/py-gobject
pygobject_RUN_DEPENDS= pygobject-codegen-2.0:devel/py-gobject
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/py3-gobject3
-py3gobject3_RUN_DEPENDS= py3?-gobject3>=0:devel/py3-gobject3
+py3gobject3_BUILD_DEPENDS= py3?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
+py3gobject3_RUN_DEPENDS= py3?-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
-pygobject3_RUN_DEPENDS= py2?-gobject3>=0:devel/py-gobject3
+pygobject3_BUILD_DEPENDS= py2?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
+pygobject3_RUN_DEPENDS= py2?-gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
pygobject3_USE_GNOME_IMPL= glib20
pygtk2_DETECT= ${LOCALBASE}/libdata/pkgconfig/pygtk-2.0.pc