From d395bde2f5229da8bb5835fcc1f1c2ea202adfdd Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 7 Apr 2021 06:13:24 +0100 Subject: media-radio/fsync-mdc1200-decode: 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 --- media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild | 4 ++-- media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'media-radio') diff --git a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild index a452f7447737..2316114ab76b 100644 --- a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild +++ b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,7 +26,7 @@ RDEPEND="${DEPEND}" BDEPEND="" src_compile() { - $(tc-getCC) -o fsync-mdc1200-decode ${CFLAGS} ${LDFLAGS} demod.c fsync_decode.c mdc_decode.c $(pkg-config --cflags --libs libpulse-simple) + $(tc-getCC) -o fsync-mdc1200-decode ${CFLAGS} ${LDFLAGS} demod.c fsync_decode.c mdc_decode.c $($(tc-getPKG_CONFIG) --cflags --libs libpulse-simple) } src_install() { diff --git a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild index a452f7447737..2316114ab76b 100644 --- a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild +++ b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019 Gentoo Authors +# Copyright 2019-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -26,7 +26,7 @@ RDEPEND="${DEPEND}" BDEPEND="" src_compile() { - $(tc-getCC) -o fsync-mdc1200-decode ${CFLAGS} ${LDFLAGS} demod.c fsync_decode.c mdc_decode.c $(pkg-config --cflags --libs libpulse-simple) + $(tc-getCC) -o fsync-mdc1200-decode ${CFLAGS} ${LDFLAGS} demod.c fsync_decode.c mdc_decode.c $($(tc-getPKG_CONFIG) --cflags --libs libpulse-simple) } src_install() { -- cgit v1.2.3-65-gdbad