mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
util-macros: do not probe into host triplet when checking manpage section names
This does not work for allarch recipes in particular (config.sub rejects allarch-poky-linux). (From OE-Core rev: f41be046ff26ecbbab9342ee62dbf39df4596da7) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
fafdbef0ac
commit
6e7cf97854
@@ -0,0 +1,28 @@
|
||||
From 6afaaf164ab9370204856961a92ad8ee523a8293 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Fri, 3 Mar 2023 13:24:58 +0100
|
||||
Subject: [PATCH] xorg-macros.m4.in: do not run AC_CANONICAL_HOST in manpage
|
||||
section macro
|
||||
|
||||
This doesn't work when building allarch items, as it calls into
|
||||
config.sub with the host triplet, and config.sub can't match
|
||||
it against any architeture it knows.
|
||||
|
||||
Upstream-Status: Inappropriate [oe specific]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
xorg-macros.m4.in | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
|
||||
index 3b8b8e9..6541236 100644
|
||||
--- a/xorg-macros.m4.in
|
||||
+++ b/xorg-macros.m4.in
|
||||
@@ -111,7 +111,6 @@ AC_SUBST(TRADITIONALCPPFLAGS)
|
||||
# Added AC_PROG_SED in version 1.8
|
||||
|
||||
AC_DEFUN([XORG_MANPAGE_SECTIONS],[
|
||||
-AC_REQUIRE([AC_CANONICAL_HOST])
|
||||
AC_REQUIRE([AC_PROG_SED])
|
||||
|
||||
case $host_os in
|
||||
@@ -9,6 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=42ba50748cb7ccf8739424e5e2072b02"
|
||||
|
||||
PE = "1"
|
||||
|
||||
SRC_URI += "file://0001-xorg-macros.m4.in-do-not-run-AC_CANONICAL_HOST-in-ma.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "8daf36913d551a90fd1013cb078401375dabae021cb4713b9b256a70f00eeb74"
|
||||
|
||||
# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
|
||||
|
||||
Reference in New Issue
Block a user