1 |
commit: bfd83d66cdcb9e58170b50f0fa70f8b429017311 |
2 |
Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 31 17:44:45 2016 +0000 |
4 |
Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 31 17:52:23 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfd83d66 |
7 |
|
8 |
net-fs/smbtatools: swap direct pkg-config call for tc-getPKG_CONFIG |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild | 7 ++++--- |
13 |
1 file changed, 4 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild b/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild |
16 |
index c2d65eb..6a71507 100644 |
17 |
--- a/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild |
18 |
+++ b/net-fs/smbtatools/smbtatools-1.2.6-r1.ebuild |
19 |
@@ -4,7 +4,7 @@ |
20 |
|
21 |
EAPI=6 |
22 |
|
23 |
-inherit cmake-utils |
24 |
+inherit toolchain-funcs cmake-utils |
25 |
|
26 |
DESCRIPTION="Tools for configuration and query of SMB Traffic Analyzer" |
27 |
HOMEPAGE="https://github.com/hhetter/smbtatools" |
28 |
@@ -37,10 +37,11 @@ DOCS="doc/smbta-guide.html doc/gfx/*.png" |
29 |
PATCHES=( "${FILESDIR}"/${P}-fix-cmake.patch ) |
30 |
|
31 |
src_configure() { |
32 |
+ local PKG_CONFIG=$(tc-getPKG_CONFIG) |
33 |
local mycmakeargs=( |
34 |
-Ddebug=$(usex debug) |
35 |
- -DLIBSMBCLIENT_LIBRARIES="$(pkg-config --libs smbclient)" |
36 |
- -DLIBSMBCLIENT_INCLUDE_DIRS="$(pkg-config --variable includedir smbclient)" |
37 |
+ -DLIBSMBCLIENT_LIBRARIES="$(${PKG_CONFIG} --libs smbclient)" |
38 |
+ -DLIBSMBCLIENT_INCLUDE_DIRS="$(${PKG_CONFIG} --variable includedir smbclient)" |
39 |
) |
40 |
|
41 |
cmake-utils_src_configure |