mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-text/poppler: fix pkg-config
if cairo and introspection are enabled, giscanner is called and PKG_CONFIG must be defined to avoid 'pkg-config' by default. > ERROR: pkg-config: error executing command ['pkg-config', '--cflags', > 'gobject-2.0', 'glib-2.0', 'cairo-gobject', 'gio-2.0', 'gmodule-2.0', > 'gio-unix-2.0']: [Errno 2] No such file or directory: 'pkg-config' Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/45612 Closes: https://github.com/gentoo/gentoo/pull/45612 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
b07b38d304
commit
ff6364e6f1
@@ -98,6 +98,10 @@ src_configure() {
|
||||
xdg_environment_reset
|
||||
append-lfs-flags # bug #898506
|
||||
|
||||
# giscanner is called if cairo and introspection are enabled.
|
||||
# In that case, PKG_CONFIG must be defined.
|
||||
tc-export PKG_CONFIG
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
|
||||
@@ -97,6 +97,10 @@ src_configure() {
|
||||
xdg_environment_reset
|
||||
append-lfs-flags # bug #898506
|
||||
|
||||
# giscanner is called if cairo and introspection are enabled.
|
||||
# In that case, PKG_CONFIG must be defined.
|
||||
tc-export PKG_CONFIG
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
|
||||
Reference in New Issue
Block a user