Source-Changes-HG archive

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

[src/netbsd-8]: src Pull up following revision(s) (requested by hans in ticke...



details:   https://anonhg.NetBSD.org/src/rev/80c52dac5cca
branches:  netbsd-8
changeset: 434729:80c52dac5cca
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Mar 13 13:29:57 2018 +0000

description:
Pull up following revision(s) (requested by hans in ticket #623):
        external/bsd/mdocml/dist/configure: revision 1.10
        tools/mandoc/Makefile: revision 1.10
Honor HOST_CC.

diffstat:

 external/bsd/mdocml/dist/configure |  4 +++-
 tools/mandoc/Makefile              |  4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (31 lines):

diff -r 425d3d78aa93 -r 80c52dac5cca external/bsd/mdocml/dist/configure
--- a/external/bsd/mdocml/dist/configure        Tue Mar 13 13:27:10 2018 +0000
+++ b/external/bsd/mdocml/dist/configure        Tue Mar 13 13:29:57 2018 +0000
@@ -40,7 +40,9 @@
 MAKEFLAGS=
 UTF8_LOCALE=
 
-CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`
+if [ -z "${CC}" ]; then
+       CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env -i make -sf -`
+fi
 CFLAGS="-g -W -Wall -Wmissing-prototypes -Wstrict-prototypes -Wwrite-strings"
 CFLAGS="${CFLAGS} -Wno-unused-parameter"
 LDADD=
diff -r 425d3d78aa93 -r 80c52dac5cca tools/mandoc/Makefile
--- a/tools/mandoc/Makefile     Tue Mar 13 13:27:10 2018 +0000
+++ b/tools/mandoc/Makefile     Tue Mar 13 13:29:57 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2016/01/27 21:24:59 christos Exp $
+#      $NetBSD: Makefile,v 1.9.8.1 2018/03/13 13:29:57 martin Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}mandoc
 HOST_SRCDIR=   external/bsd/mdocml/bin/mandoc
@@ -17,6 +17,6 @@
 CLEANFILES+=   config.log config.h Makefile.local
 
 config.h: configure 
-       SRCDIR=${DISTDIR} ${HOST_SH} ${DISTDIR}/configure
+       SRCDIR=${DISTDIR} CC=${HOST_CC} ${HOST_SH} ${DISTDIR}/configure
 
 .include "${.CURDIR}/../Makefile.host"



Home | Main Index | Thread Index | Old Index