commit:     f0da870f170fa4a22b31fba321416cf35d43f6fa
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 18 21:06:33 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Jun 18 21:06:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0da870f

dev-perl/Filesys-SmbClient: respect ${PKG_CONFIG}

Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-perl/Filesys-SmbClient/Filesys-SmbClient-3.200.0-r4.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-perl/Filesys-SmbClient/Filesys-SmbClient-3.200.0-r4.ebuild 
b/dev-perl/Filesys-SmbClient/Filesys-SmbClient-3.200.0-r4.ebuild
index adf20536a0e..adf0d3316b0 100644
--- a/dev-perl/Filesys-SmbClient/Filesys-SmbClient-3.200.0-r4.ebuild
+++ b/dev-perl/Filesys-SmbClient/Filesys-SmbClient-3.200.0-r4.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 DIST_AUTHOR=ALIAN
 DIST_VERSION=3.2
-inherit perl-module autotools
+inherit perl-module autotools toolchain-funcs
 
 DESCRIPTION="Provide Perl API for libsmbclient.so"
 
@@ -36,8 +36,8 @@ src_prepare() {
        eautoreconf
 }
 src_configure() {
-       GENTOO_INC_SMBCLIENT="$( pkg-config --variable=includedir smbclient )" \
-               GENTOO_LIB_SMBCLIENT="$( pkg-config --variable=libdir smbclient 
)" \
+       GENTOO_INC_SMBCLIENT="$( $(tc-getPKG_CONFIG) --variable=includedir 
smbclient )" \
+               GENTOO_LIB_SMBCLIENT="$( $(tc-getPKG_CONFIG) --variable=libdir 
smbclient )" \
                perl-module_src_configure
 }
 src_compile() {

Reply via email to