summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-12 08:55:51 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-12 09:56:45 +0100
commitc81f41fe6e18be781a980b6d27d3a0e67af6252d (patch)
tree5dff32fbd8ee09058a9fd42864e5ce4114275873 /dev-libs/btparser
parentdev-python/dbus-python: Use impl specific python-config (diff)
downloadgentoo-c81f41fe6e18be781a980b6d27d3a0e67af6252d.tar.gz
gentoo-c81f41fe6e18be781a980b6d27d3a0e67af6252d.tar.bz2
gentoo-c81f41fe6e18be781a980b6d27d3a0e67af6252d.zip
dev-libs/btparser: Use eclass functions to obtain build variables
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-libs/btparser')
-rw-r--r--dev-libs/btparser/btparser-0.24.ebuild6
-rw-r--r--dev-libs/btparser/btparser-0.25.ebuild6
2 files changed, 4 insertions, 8 deletions
diff --git a/dev-libs/btparser/btparser-0.24.ebuild b/dev-libs/btparser/btparser-0.24.ebuild
index 2a1092cfdaaf..3530f12e2c2f 100644
--- a/dev-libs/btparser/btparser-0.24.ebuild
+++ b/dev-libs/btparser/btparser-0.24.ebuild
@@ -24,10 +24,8 @@ DEPEND="${RDEPEND}
app-arch/xz-utils"
src_configure() {
- # Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
- # while python-2.6 does not install any pkgconfig file.
- export PYTHON_CFLAGS=$(python-config --includes)
- export PYTHON_LIBS=$(python-config --libs)
+ export PYTHON_CFLAGS=$(python_get_CFLAGS)
+ export PYTHON_LIBS=$(python_get_LIBS)
econf \
$(use_enable static-libs static) \
diff --git a/dev-libs/btparser/btparser-0.25.ebuild b/dev-libs/btparser/btparser-0.25.ebuild
index dfa186664371..3a2cbf7f1d45 100644
--- a/dev-libs/btparser/btparser-0.25.ebuild
+++ b/dev-libs/btparser/btparser-0.25.ebuild
@@ -34,10 +34,8 @@ src_prepare() {
}
src_configure() {
- # Configure checks for python.pc; our python-2.7 installs python-2.7.pc,
- # while python-2.6 does not install any pkgconfig file.
- export PYTHON_CFLAGS=$(python-config --includes)
- export PYTHON_LIBS=$(python-config --libs)
+ export PYTHON_CFLAGS=$(python_get_CFLAGS)
+ export PYTHON_LIBS=$(python_get_LIBS)
gnome2_src_configure \
$(use_enable static-libs static)