diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2016-03-31 13:44:45 -0400 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2016-03-31 13:52:23 -0400 |
commit | bfd83d66cdcb9e58170b50f0fa70f8b429017311 (patch) | |
tree | a68e71c53ce959f59b74867de528914bd63d3569 /net-fs/smbtatools | |
parent | games-arcade/cdogs-sdl: build with gcc5 (bug #571112) (diff) | |
download | gentoo-bfd83d66cdcb9e58170b50f0fa70f8b429017311.tar.gz gentoo-bfd83d66cdcb9e58170b50f0fa70f8b429017311.tar.bz2 gentoo-bfd83d66cdcb9e58170b50f0fa70f8b429017311.zip |
net-fs/smbtatools: swap direct pkg-config call for tc-getPKG_CONFIG
Package-Manager: portage-2.2.26
Diffstat (limited to 'net-fs/smbtatools')
-rw-r--r-- | net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild | 7 |
1 files 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 c2d65eba3364..6a71507b1258 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 |