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



The following reply was made to PR toolchain/59416; it has been noted by GNATS.

From: Palle Lyckegaard <palle%freeshell.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: toolchain-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost, palle%lyckegaard.dk@localhost
Subject: Re: toolchain/59416: tools/mandoc fails to build on host system
 where cc is not present
Date: Fri, 16 May 2025 19:20:05 +0000 (UTC)

 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