aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/poke/poke/0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch
blob: 67384b73d4fe29fc77e22d10ba1bdd0a7771bf40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 8ba76a5a7ce311f67890199c5595bc1f626495ad Mon Sep 17 00:00:00 2001
From: Romain Naour <romain.naour@gmail.com>
Date: Fri, 30 Apr 2021 15:43:59 +0200
Subject: [PATCH] configure.ac: HELP2MAN replace ':' by 'true' when
 cross-compiling

Avoid:
/usr/bin/make  ./../poke/poke
../run \
  : -p poke --name="The GNU extensible binary editor" \
      ./../poke/poke -o ./poke.1
../run: line 51: exec: :: not found

Upstream-Status: Pending
Signed-off-by: Romain Naour <romain.naour@gmail.com>
---

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/configure.ac
+++ b/configure.ac
@@ -148,7 +148,7 @@ gl_LIBTEXTSTYLE_OPTIONAL([0.20.5])
 if test $cross_compiling = no; then
   AM_MISSING_PROG(HELP2MAN, help2man)
 else
-  HELP2MAN=:
+  HELP2MAN=true
 fi
 
 dnl The following Automake conditional is used in some Makefile.am files