From: Edgar Pettijohn Subject: Makefile patch To: gameoftrees@openbsd.org Date: Sat, 4 Jan 2020 11:12:01 -0600 Came across got from a misc@ posting. Tried to build on netbsd and hit a makefile incompatibility. The patch attached gets me a little further. More work to do to get it to build. Really would be nice to have a simpler vcs. Thanks, Edgar diff --git a/Makefile.inc b/Makefile.inc index 3c61ffe..bb6ed69 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -4,7 +4,7 @@ CFLAGS += -Werror -Wall -Wstrict-prototypes -Wunused-variable #CFLAGS += -DGOT_NO_OBJ_CACHE #CFLAGS += -DGOT_OBJ_CACHE_DEBUG -.if ${GOT_RELEASE} == "Yes" +.if "${GOT_RELEASE}" == "Yes" PREFIX ?= /usr/local BINDIR ?= ${PREFIX}/bin LIBEXECDIR ?= ${PREFIX}/libexec