public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/btparser/
Date: Thu, 12 Nov 2015 08:56:49 +0000 (UTC)	[thread overview]
Message-ID: <1447318605.c81f41fe6e18be781a980b6d27d3a0e67af6252d.jlec@gentoo> (raw)

commit:     c81f41fe6e18be781a980b6d27d3a0e67af6252d
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 12 07:55:51 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Nov 12 08:56:45 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c81f41fe

dev-libs/btparser: Use eclass functions to obtain build variables

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-libs/btparser/btparser-0.24.ebuild | 6 ++----
 dev-libs/btparser/btparser-0.25.ebuild | 6 ++----
 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 2a1092c..3530f12 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 dfa1866..3a2cbf7 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)


             reply	other threads:[~2015-11-12  8:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12  8:56 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-11 21:13 [gentoo-commits] repo/gentoo:master commit in: dev-libs/btparser/ Dennis Lamm
2019-03-30 20:37 Mart Raudsepp
2019-11-17 18:05 Mart Raudsepp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447318605.c81f41fe6e18be781a980b6d27d3a0e67af6252d.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox