aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/poke/poke/0003-configure.ac-HELP2MAN-replace-by-true-when-cross-com.patch
blob: ad2bf764d364785bdb4bc6c3cad2e6494bf32df7 (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
32
33
34
35
36
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

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

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

diff --git a/configure.ac b/configure.ac
index c2f0760a..93769ef9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -74,7 +74,7 @@ gl_LIBTEXTSTYLE_OPTIONAL([0.20.5])
 if test $cross_compiling = no; then
   AM_MISSING_PROG(HELP2MAN, help2man)
 else
-  HELP2MAN=:
+  HELP2MAN=true
 fi
 
 dnl recfix is part of the GNU recutils suite, and is used in cfg.mk to
-- 
2.30.2