--- a/net-libs/webkit-gtk/webkit-gtk-2.36.1.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.36.1.ebuild @@ -127,9 +127,6 @@ # dev-python/pygobject:3[python_targets_python2_7] # x11-themes/hicolor-icon-theme # ) -RDEPEND="${RDEPEND} - geolocation? ( >=app-misc/geoclue-2.1.5:2.0 ) -" S="${WORKDIR}/${MY_P}" @@ -248,3 +245,10 @@ WK_USE_CCACHE=NO cmake_src_configure } + +pkg_postinst() { + if use geolocation; then + elog "Additional dependencies are required for functional geolocation:" + elog " >=app-misc/geoclue-2.1.5:2.0" + fi +}