commit:     bc946107aa2710707b59bffe15caee3694961db4
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  7 05:14:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 00:26:24 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc946107

sci-chemistry/theseus: call pkg-config via toolchain-funcs.eclass helper

This ensures we call the correct pkg-config in e.g. cross.

Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-chemistry/theseus/theseus-3.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-chemistry/theseus/theseus-3.3.0.ebuild 
b/sci-chemistry/theseus/theseus-3.3.0.ebuild
index 583bdf1e28c..dd9c0b802ed 100644
--- a/sci-chemistry/theseus/theseus-3.3.0.ebuild
+++ b/sci-chemistry/theseus/theseus-3.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -35,7 +35,7 @@ src_prepare() {
        ARCHFLAGS = -rvs
        RANLIB = $(tc-getRANLIB)
        LOCALLIBDIR = "${EPREFIX}/usr/$(get_libdir)
-       SYSLIBS = $(pkg-config --libs gsl) -lpthread
+       SYSLIBS = $($(tc-getPKG_CONFIG) --libs gsl) -lpthread
        LIBS = -ldistfit -lmsa -ldssplite -ldltmath -lDLTutils -ltheseus
        LIBDIR = -L./lib
        INSTALLDIR = "${ED}"/usr/bin

Reply via email to