From bfd83d66cdcb9e58170b50f0fa70f8b429017311 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Thu, 31 Mar 2016 13:44:45 -0400 Subject: 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(-) (limited to 'net-fs') diff --git a/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild b/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild index c2d65eba336..6a71507b125 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 -- cgit v1.2.1