commit:     adecc0f58f3a727d04e8b397d0e00f0825fde901
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  2 11:22:52 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri Aug  2 11:25:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adecc0f5

net-analyzer/openbsd-netcat: Fix cross-compiling in 1.219_p1

It needs to call the correct pkg-config. Thanks to Krzesimir Nowak for
the suggestion.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 net-analyzer/openbsd-netcat/openbsd-netcat-1.219_p1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/openbsd-netcat/openbsd-netcat-1.219_p1.ebuild 
b/net-analyzer/openbsd-netcat/openbsd-netcat-1.219_p1.ebuild
index afe9a5ea3fbf..d07c4bf17e73 100644
--- a/net-analyzer/openbsd-netcat/openbsd-netcat-1.219_p1.ebuild
+++ b/net-analyzer/openbsd-netcat/openbsd-netcat-1.219_p1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -47,7 +47,7 @@ src_prepare() {
 }
 
 src_compile() {
-       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+       emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" 
PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 
 src_install() {

Reply via email to