public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-fs/smbtatools/
@ 2016-03-31 17:52 Ian Stakenvicius
  0 siblings, 0 replies; only message in thread
From: Ian Stakenvicius @ 2016-03-31 17:52 UTC (permalink / raw
  To: gentoo-commits

commit:     bfd83d66cdcb9e58170b50f0fa70f8b429017311
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 17:44:45 2016 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 17:52:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfd83d66

net-fs/smbtatools: swap direct pkg-config call for tc-getPKG_CONFIG

Package-Manager: portage-2.2.26

 net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild b/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild
index c2d65eb..6a71507 100644
--- a/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild
+++ b/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit cmake-utils
+inherit toolchain-funcs cmake-utils
 
 DESCRIPTION="Tools for configuration and query of SMB Traffic Analyzer"
 HOMEPAGE="https://github.com/hhetter/smbtatools"
@@ -37,10 +37,11 @@ DOCS="doc/smbta-guide.html doc/gfx/*.png"
 PATCHES=( "${FILESDIR}"/${P}-fix-cmake.patch )
 
 src_configure() {
+	local PKG_CONFIG=$(tc-getPKG_CONFIG)
 	local mycmakeargs=(
 		-Ddebug=$(usex debug)
-		-DLIBSMBCLIENT_LIBRARIES="$(pkg-config --libs smbclient)"
-		-DLIBSMBCLIENT_INCLUDE_DIRS="$(pkg-config --variable includedir smbclient)"
+		-DLIBSMBCLIENT_LIBRARIES="$(${PKG_CONFIG} --libs smbclient)"
+		-DLIBSMBCLIENT_INCLUDE_DIRS="$(${PKG_CONFIG} --variable includedir smbclient)"
 	)
 
 	cmake-utils_src_configure


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-03-31 17:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-31 17:52 [gentoo-commits] repo/gentoo:master commit in: net-fs/smbtatools/ Ian Stakenvicius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox