It is not clear to me, where the error comes from, the Makefile code follows:
platform_id = $$( uname -s ) platform = $$( \ case $(platform_id) in \ Linux | FreeBSD | OpenBSD | NetBSD ) echo $(platform_id) ;; \ * ) echo Unrecognized ;; \ esac )
and the first target in the Makefile is:
check: echo $(platform); echo
On both Linux Mint 19.0, and FreeBSD 11.2, it works without problem, tested with both GNU
make, and BSD
make. I mean on both of those systems with
I am new to OpenBSD 6.4, and being unable to find the cause of the error is frustrating.
The error message with the command follows:
echo $( case $( uname -s ) in Linux | FreeBSD | OpenBSD | NetBSD ) echo $( uname -s ) ;; * ) echo Unrecognized ;; esac ); echo /bin/sh: syntax error: ';;' unexpected *** Error 1 in /root (Makefile:47 'check')
As I don't have guest additions installed yet, I must have transcripted but checked twice, it should be correct.