mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
app-text/ghostscript-gpl: fix cross-compile
cross compiling fails with error ``` configure: error: libcups/libcupsimage not found ``` set target config for `CUPSCONFIG` in cross build Bug: https://bugs.gentoo.org/982024 Signed-off-by: Pepper Gray <hello@peppergray.xyz> Part-of: https://github.com/gentoo/gentoo/pull/46756 Closes: https://github.com/gentoo/gentoo/pull/46756 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -159,6 +159,9 @@ src_configure() {
|
||||
FONTPATH="${FONTPATH}${FONTPATH:+:}${EPREFIX}${path}"
|
||||
done
|
||||
|
||||
# use target config in cross build, bug #982024
|
||||
use cups && local -x CUPSCONFIG="${ESYSROOT}/usr/bin/cups-config"
|
||||
|
||||
# Do not add --enable-dynamic here, it's not supported fully upstream
|
||||
# https://bugs.ghostscript.com/show_bug.cgi?id=705895
|
||||
# bug #884707
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -146,6 +146,9 @@ src_configure() {
|
||||
FONTPATH="${FONTPATH}${FONTPATH:+:}${EPREFIX}${path}"
|
||||
done
|
||||
|
||||
# use target config in cross build, bug #982024
|
||||
use cups && local -x CUPSCONFIG="${ESYSROOT}/usr/bin/cups-config"
|
||||
|
||||
# Do not add --enable-dynamic here, it's not supported fully upstream
|
||||
# https://bugs.ghostscript.com/show_bug.cgi?id=705895
|
||||
# bug #884707
|
||||
|
||||
Reference in New Issue
Block a user