commit:     a3955aa4ce98b8c52115e3228a1cfb623a90d1de
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  7 05:17:56 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 00:26:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3955aa4

app-i18n/imhangul: 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>

 app-i18n/imhangul/imhangul-2.1.0-r1.ebuild | 6 +++---
 app-i18n/imhangul/imhangul-2.1.1.ebuild    | 6 +++---
 app-i18n/imhangul/imhangul-3.1.1.ebuild    | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/app-i18n/imhangul/imhangul-2.1.0-r1.ebuild 
b/app-i18n/imhangul/imhangul-2.1.0-r1.ebuild
index fa3a74b4b50..22f7c57fe63 100644
--- a/app-i18n/imhangul/imhangul-2.1.0-r1.ebuild
+++ b/app-i18n/imhangul/imhangul-2.1.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-inherit gnome2-utils
+inherit gnome2-utils toolchain-funcs
 
 DESCRIPTION="GTK+ 2 Hangul Input Modules"
 HOMEPAGE="https://github.com/libhangul/imhangul";
@@ -28,7 +28,7 @@ src_prepare() {
 }
 
 src_configure() {
-       econf 
--with-gtk-im-module-dir="${EPREFIX}"/usr/$(get_libdir)/gtk-2.0/$(pkg-config 
gtk+-2.0 --variable=gtk_binary_version)/immodules
+       econf 
--with-gtk-im-module-dir="${EPREFIX}"/usr/$(get_libdir)/gtk-2.0/$($(tc-getPKG_CONFIG)
 gtk+-2.0 --variable=gtk_binary_version)/immodules
 }
 
 src_install() {

diff --git a/app-i18n/imhangul/imhangul-2.1.1.ebuild 
b/app-i18n/imhangul/imhangul-2.1.1.ebuild
index 6c217abb020..bce95ecb2cd 100644
--- a/app-i18n/imhangul/imhangul-2.1.1.ebuild
+++ b/app-i18n/imhangul/imhangul-2.1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-inherit gnome2-utils
+inherit gnome2-utils toolchain-funcs
 
 DESCRIPTION="GTK+ 2 Hangul Input Modules"
 HOMEPAGE="https://github.com/libhangul/imhangul";
@@ -28,7 +28,7 @@ src_prepare() {
 }
 
 src_configure() {
-       econf 
--with-gtk-im-module-dir="${EPREFIX}"/usr/$(get_libdir)/gtk-2.0/$(pkg-config 
gtk+-2.0 --variable=gtk_binary_version)/immodules
+       econf 
--with-gtk-im-module-dir="${EPREFIX}"/usr/$(get_libdir)/gtk-2.0/$($(tc-getPKG_CONFIG)
 gtk+-2.0 --variable=gtk_binary_version)/immodules
 }
 
 src_install() {

diff --git a/app-i18n/imhangul/imhangul-3.1.1.ebuild 
b/app-i18n/imhangul/imhangul-3.1.1.ebuild
index 82c47a85735..27ef02936dd 100644
--- a/app-i18n/imhangul/imhangul-3.1.1.ebuild
+++ b/app-i18n/imhangul/imhangul-3.1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
 
-inherit gnome2-utils
+inherit gnome2-utils toolchain-funcs
 
 DESCRIPTION="GTK+ 3 Hangul Input Modules"
 HOMEPAGE="https://github.com/libhangul/imhangul";
@@ -28,7 +28,7 @@ src_prepare() {
 }
 
 src_configure() {
-       econf 
--with-gtk-im-module-dir="${EPREFIX}"/usr/$(get_libdir)/gtk-3.0/$(pkg-config 
gtk+-3.0 --variable=gtk_binary_version)/immodules
+       econf 
--with-gtk-im-module-dir="${EPREFIX}"/usr/$(get_libdir)/gtk-3.0/$($(tc-getPKG_CONFIG)
 gtk+-3.0 --variable=gtk_binary_version)/immodules
 }
 
 src_install() {

Reply via email to