> On Sep 19, 2021, at 11:21 AM, Todd Gruhn <tgru...@gmail.com> wrote: > > gandalf# make depend > make: "/etc/mk.conf" line 304: Malformed conditional (${OPSYS} == > "OpenBSD" || ${OPSYS} == "Bitrig") > make: "/etc/mk.conf" line 632: Malformed conditional (${OPSYS} == "IRIX") > make: Fatal errors encountered -- cannot continue > make: stopped in /usr/src/sys/arch/amd64/compile/GENERIC
I think the idea was to see those exact lines in your /etc/mk.conf file. My guess is that you have not included <bsd.prefs.mk> (I’m pretty sure that is the correct file) prior to these conditionals. As a result, I suspect ${OPSYS} is not defined to anything and the conditionals look like (== “IRIX”), which of course makes no sense. Cheers, Brook