public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ipvsadm/
Date: Tue, 13 Apr 2021 00:26:53 +0000 (UTC)	[thread overview]
Message-ID: <1618273589.e296bca1e7c776f65b62a5288f9074769471767b.sam@gentoo> (raw)

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

sys-cluster/ipvsadm: 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>

 sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild | 6 +++---
 sys-cluster/ipvsadm/ipvsadm-1.28.ebuild    | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild
index a9729a137de..b37bfb8058e 100644
--- a/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild
+++ b/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -39,7 +39,7 @@ src_prepare() {
 src_compile() {
 	local libnl_include
 	if has_version ">=dev-libs/libnl-3.0"; then
-		libnl_include=$(pkg-config --cflags libnl-3.0)
+		libnl_include=$($(tc-getPKG_CONFIG) --cflags libnl-3.0)
 	else
 		libnl_include=""
 	fi
@@ -48,7 +48,7 @@ src_compile() {
 		CC="$(tc-getCC)" \
 		HAVE_NL=1 \
 		STATIC=${STATIC} \
-		POPT_LIB="$(pkg-config --libs popt)"
+		POPT_LIB="$($(tc-getPKG_CONFIG) --libs popt)"
 }
 
 src_install() {

diff --git a/sys-cluster/ipvsadm/ipvsadm-1.28.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.28.ebuild
index 39f351f5ae9..ed048c1f31b 100644
--- a/sys-cluster/ipvsadm/ipvsadm-1.28.ebuild
+++ b/sys-cluster/ipvsadm/ipvsadm-1.28.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -37,7 +37,7 @@ src_prepare() {
 src_compile() {
 	local libnl_include
 	if has_version ">=dev-libs/libnl-3.0"; then
-		libnl_include=$(pkg-config --cflags libnl-3.0)
+		libnl_include=$($(tc-getPKG_CONFIG) --cflags libnl-3.0)
 	else
 		libnl_include=""
 	fi
@@ -46,7 +46,7 @@ src_compile() {
 		CC="$(tc-getCC)" \
 		HAVE_NL=1 \
 		STATIC=${STATIC} \
-		POPT_LIB="$(pkg-config --libs popt)"
+		POPT_LIB="$($(tc-getPKG_CONFIG)--libs popt)"
 }
 
 src_install() {


             reply	other threads:[~2021-04-13  0:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13  0:26 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-09-03  9:18 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ipvsadm/ Jakov Smolić
2022-09-01  8:47 Agostino Sarubbo
2022-09-01  8:45 Agostino Sarubbo
2022-09-01  7:52 Jakov Smolić
2022-01-01 10:48 Ulrich Müller
2022-01-01 10:48 Ulrich Müller
2021-05-05 13:32 Alexys Jacob
2021-04-15  8:02 Sam James
2016-10-15  9:31 Pacho Ramos
2016-02-13 16:46 Agostino Sarubbo
2016-01-27 12:49 Alexys Jacob

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1618273589.e296bca1e7c776f65b62a5288f9074769471767b.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox