NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/59416: tools/mandoc fails to build on host system where cc is not present



On Fri, 16 May 2025, Valery Ushakov via gnats wrote:

tools/mandoc/Makefile might also need AR="${HOST_AR}" added to the
environment for configure, but I haven't looked too closely


I only have issues with CC, so I'l limit my changes to this:

diff --git a/external/bsd/mdocml/dist/configure b/external/bsd/mdocml/dist/configure
index d309ec5f59e7..a84165b87d20 100644
--- a/external/bsd/mdocml/dist/configure
+++ b/external/bsd/mdocml/dist/configure
@@ -43,7 +43,7 @@ MAKEFLAGS=
 UTF8_LOCALE=

 AR=ar
-CC=cc
+: "${CC:=cc}" \

 CFLAGS=
 FATAL=0
 LDADD=





Home | Main Index | Thread Index | Old Index