Summary: | media-fonts/font-util-1.3.2 installs "/usr/share/fonts/util --with-fontrootdir=" directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Arfrever Frehtes Taifersar Arahesis <arfrever.fta> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | polynomial-c, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch |
Description
Arfrever Frehtes Taifersar Arahesis
2019-08-28 16:36:43 UTC
xorg-2.eclass has support for XORG_CONFIGURE_OPTIONS as non-array variable: # @VARIABLE: XORG_CONFIGURE_OPTIONS # @DESCRIPTION: # Array of an additional options to pass to configure. # @DEFAULT_UNSET -> if [[ $(declare -p XORG_CONFIGURE_OPTIONS 2>&-) != "declare -a"* ]]; then # fallback to CONFIGURE_OPTIONS, deprecated. if [[ -n "${CONFIGURE_OPTIONS}" ]]; then eqawarn "CONFIGURE_OPTIONS are deprecated. Please migrate to XORG_CONFIGURE_OPTIONS" eqawarn "to preserve namespace." fi -> local xorgconfadd=(${CONFIGURE_OPTIONS} ${XORG_CONFIGURE_OPTIONS}) else local xorgconfadd=("${XORG_CONFIGURE_OPTIONS[@]}") fi xorg-3.eclass treats XORG_CONFIGURE_OPTIONS only as array: # @VARIABLE: XORG_CONFIGURE_OPTIONS # @DESCRIPTION: # Array of an additional options to pass to configure. # @DEFAULT_UNSET -> local xorgconfadd=("${XORG_CONFIGURE_OPTIONS[@]}") Created attachment 588488 [details, diff]
Patch
Minimal fix is:
-XORG_CONFIGURE_OPTIONS="--with-mapdir=${EPREFIX}/usr/share/fonts/util --with-fontrootdir=${EPREFIX}/usr/share/fonts"
+XORG_CONFIGURE_OPTIONS=(--with-mapdir="${EPREFIX}/usr/share/fonts/util" --with-fontrootdir="${EPREFIX}/usr/share/fonts")
But I wrapped it into separate lines.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=164f053618be19d04166432cb428fd33f6a388ef commit 164f053618be19d04166432cb428fd33f6a388ef Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2019-08-28 16:45:05 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-08-28 23:16:06 +0000 media-fonts/font-util: Install files to correct directory. Closes: https://bugs.gentoo.org/693024 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org> .../{font-util-1.3.2.ebuild => font-util-1.3.2-r1.ebuild} | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) *** Bug 692902 has been marked as a duplicate of this bug. *** *** Bug 692908 has been marked as a duplicate of this bug. *** *** Bug 692910 has been marked as a duplicate of this bug. *** *** Bug 692968 has been marked as a duplicate of this bug. *** *** Bug 692970 has been marked as a duplicate of this bug. *** |