prereq-build: g++ formatting and consistency fixes
authorKarl Palsson <karlp@tweak.net.au>
Mon, 17 May 2021 00:38:03 +0000 (00:38 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 23 May 2021 13:11:38 +0000 (15:11 +0200)
commit81d0ddc806e1f088328ca29eb56db9285b2a4f7b
tree67a08a5b5ad7fe1112293129bbeb2338c697ef0a
parent080a0b74e39d159eecf69c468debec42f28bf4d8
prereq-build: g++ formatting and consistency fixes

Remove \n that mangles output, and fix inconsistent version name check.

Example before:

Build dependency: Please install the GNU C++ Compiler (g++) 6 or later
Build dependency: \nPlease reinstall the GNU C++ Compiler (4.8 or later) - it appears to be broken
Build dependency: Please install ncurses. (Missing libncurses.so or ncurses.h)

Signed-off-by: Karl Palsson <karlp@tweak.net.au>
include/prereq-build.mk