From 9985a8b274b2ba0ed06dad60836cea3e2ce55826 Mon Sep 17 00:00:00 2001 From: Sergey Popov Date: Thu, 11 Jul 2013 16:07:05 +0000 Subject: Utilize apropriate functions from toolchain-funcs eclass instead of direct call to pkg-config (Portage version: 2.2.0_alpha184/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42) --- net-analyzer/mtr/ChangeLog | 6 +++++- net-analyzer/mtr/mtr-0.85.ebuild | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'net-analyzer') diff --git a/net-analyzer/mtr/ChangeLog b/net-analyzer/mtr/ChangeLog index ed7876a51d48..9195e44d687f 100644 --- a/net-analyzer/mtr/ChangeLog +++ b/net-analyzer/mtr/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/mtr # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.135 2013/07/11 15:22:42 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/ChangeLog,v 1.136 2013/07/11 16:07:05 pinkbyte Exp $ + + 11 Jul 2013; Sergey Popov mtr-0.85.ebuild: + Utilize apropriate functions from toolchain-funcs eclass instead of direct + call to pkg-config 11 Jul 2013; Jeroen Roovers mtr-0.85.ebuild, +files/0.85-gtk.patch: diff --git a/net-analyzer/mtr/mtr-0.85.ebuild b/net-analyzer/mtr/mtr-0.85.ebuild index b62961e98aaf..d01a0372ec89 100644 --- a/net-analyzer/mtr/mtr-0.85.ebuild +++ b/net-analyzer/mtr/mtr-0.85.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.85.ebuild,v 1.3 2013/07/11 15:22:42 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.85.ebuild,v 1.4 2013/07/11 16:07:05 pinkbyte Exp $ EAPI=5 -inherit eutils autotools flag-o-matic +inherit eutils autotools flag-o-matic toolchain-funcs DESCRIPTION="My TraceRoute, an Excellent network diagnostic tool" HOMEPAGE="http://www.bitwizard.nl/mtr/" @@ -35,8 +35,8 @@ src_prepare() { mv "${WORKDIR}"/gtk-2.0-for-mtr.m4 gtk-2.0.m4 #222909 AT_M4DIR="." eautoreconf - append-cppflags $(pkg-config --cflags glib-2.0) - append-libs $(pkg-config --libs glib-2.0) + append-cppflags $($(tc-getPKG_CONFIG) --cflags glib-2.0) + append-libs $($(tc-getPKG_CONFIG) --libs glib-2.0) } src_configure() { # In the source's configure script -lresolv is commented out. Apparently it -- cgit v1.2.3-65-gdbad