"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: Makefile patch
To:
Edgar Pettijohn <edgar@pettijohn-web.com>
Cc:
gameoftrees@openbsd.org
Date:
Sat, 4 Jan 2020 18:25:07 +0100

Download raw body.

Thread
On Sat, Jan 04, 2020 at 11:12:01AM -0600, Edgar Pettijohn wrote:
> Came across got from a misc@ posting. Tried to build on netbsd and hit a
> makefile incompatibility.
Regardless of this, may I suggest `.if ${GOT_RELEASE:L} == "yes"' as
done in other makefiles such as bsd.port.mk(5);  that makes it work no
matter the case.
 
> -.if ${GOT_RELEASE} == "Yes"
> +.if "${GOT_RELEASE}" == "Yes"
What exactly is the incompatibility?  Does NetBSD's make not support
unquoted variables?  What error do you get?