From: Antoine Leca Date: Fri, 4 Nov 2016 18:19:14 +0000 (+0100) Subject: Fix the process for GNU tools on MINIX X-Git-Url: http://zhaoyanbai.com/repos/CHANGES?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F3379%2F1;p=minix.git Fix the process for GNU tools on MINIX This is a fix over commit a150b26ee803b20080 On a MINIX station, the tools are not usually built and on a first-time building of the tree, the fetching script of texinfo was not triggered in some cases. Let force it. Reported on minix3 googlegroup by Chris Card. Change-Id: I8beafdeaec66bb1f1f3250bd64c1e14c0023e9d0 --- diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index 0e72fa779..6162bfcfd 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -4,6 +4,16 @@ .if defined(__MINIX) SUBDIR+= texinfo + +.if ${USETOOLS} != "yes" +# MINIX: make sure sources are fetched, even when tools were not built earlier +MODULE= texinfo +GNUHOSTDIST= ${NETBSDSRCDIR}/gnu/dist/${MODULE} +.include "${.CURDIR}/../../minix/Makefile.fetchgnu" + +realall realdepend: ${GNUHOSTDIST:H}/.gitignore +.endif # defined(__MINIX) + .else SUBDIR+= bc SUBDIR+= c89 c99