gnome-extra/gnome-builder: Obtain python-config path from the eclass
authorMichał Górny <mgorny@gentoo.org>
Sun, 8 Nov 2015 09:01:57 +0000 (10:01 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 11 Nov 2015 10:22:03 +0000 (11:22 +0100)
Use the new python_get_PYTHON_CONFIG API to obtain the path to
python-config rather than hardcoding it as ${PYTHON}-config. This
forward-fixes compatibility with ABIFLAGS-enabled Python 3.*.

gnome-extra/gnome-builder/gnome-builder-3.16.3.ebuild

index f6e26742b49c68b3525fbd18b8b72b53bc820e5a..8fd9e139f02ea45fd104da4d1d778c190cb1fc37 100644 (file)
@@ -49,7 +49,7 @@ src_configure() {
        gnome2_src_configure \
                --disable-static \
                $(use_enable introspection) \
-               PYTHON3_CONFIG=${PYTHON}-config
+               PYTHON3_CONFIG="$(python_get_PYTHON_CONFIG)"
 }
 
 src_test() {