summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/tensorflow')
-rw-r--r--sci-libs/tensorflow/tensorflow-2.4.0.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/tensorflow/tensorflow-2.4.0.ebuild b/sci-libs/tensorflow/tensorflow-2.4.0.ebuild
index 54194fd4e24d..752cc4915648 100644
--- a/sci-libs/tensorflow/tensorflow-2.4.0.ebuild
+++ b/sci-libs/tensorflow/tensorflow-2.4.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=7
@@ -303,7 +303,7 @@ src_configure() {
echo 'build --config=noaws --config=nohdfs' >> .bazelrc || die
echo 'build --define tensorflow_mkldnn_contraction_kernel=0' >> .bazelrc || die
- for cflag in $(pkg-config jsoncpp --cflags)
+ for cflag in $($(tc-getPKG_CONFIG) jsoncpp --cflags)
do
echo "build --copt=\"$cflag\"" >> .bazelrc || die
echo "build --host_copt=\"$cflag\"" >> .bazelrc || die
@@ -385,7 +385,7 @@ src_install() {
doins -r bazel-bin/tensorflow/include/*
einfo "Installing libs"
- # Generate pkg-config file
+ # Generate $(tc-getPKG_CONFIG) file
${PN}/c/generate-pc.sh --prefix="${EPREFIX}"/usr --libdir=$(get_libdir) --version=${MY_PV} || die
insinto /usr/$(get_libdir)/pkgconfig
doins ${PN}.pc ${PN}_cc.pc