$OpenBSD: patch-Makefile,v 1.3 2021/03/20 18:28:52 solene Exp $

Skip the architecture dance.
Add X11BASE/lib to LDFLAGS

Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -36,7 +36,7 @@ JSON2C ?= ./json2c.sh
 
 CFLAGS ?= -O2 -Wall -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-strict-aliasing -Werror=strict-prototypes -Werror=old-style-definition -g -MMD $(INCLUDES)
 RCFLAGS ?=
-LDFLAGS ?=
+LDFLAGS ?= -L${X11BASE}/lib
 LIBS ?=
 
 #Temporarily disable tree vectorization optimization enabled at O3 due to gcc bug
@@ -379,7 +379,7 @@ endif
 ifdef CONFIG_WINDOWS
     TARG_c := ezquake.exe
 else
-    TARG_c := ezquake-$(LSYS)-$(CPU)
+    TARG_c := ezquake
 endif
 
 all: $(TARG_c)
