--- gcompris-8.4.12.ebuild +++ gcompris-8.4.12.ebuild @@ -51,7 +51,6 @@ } src_configure() { - python_version GNUCHESS="${GAMES_BINDIR}"/gnuchess \ egamesconf \ --disable-dependency-tracking \ @@ -60,7 +59,7 @@ --localedir=/usr/share/locale \ --infodir=/usr/share/info \ --enable-xf86vidmode \ - $(use_with python python /usr/bin/python${PYVER}) \ + $(use_with python python "$(PYTHON -a)") \ $(use_enable debug) \ $(use_enable gnet) \ $(use_enable sqlite)