openbsd-ports/games/ezquake/patches/patch-Makefile
thfr cef0091cd8 update to 3.6.1 from maintainer Tom Murphy (openbsd AT pertho ! net).
Changelog:
https://github.com/QW-Group/ezquake-source/releases/tag/3.6.1

Index: Makefile
===================================================================
RCS file: /cvs/ports/games/ezquake/Makefile,v
retrieving revision 1.13
2022-11-29 15:03:53 +00:00

25 lines
653 B
Plaintext

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
@@ -575,7 +575,7 @@ endif
ifdef CONFIG_WINDOWS
TARG_c := ezquake$(EZ_POSTFIX).exe
else
- TARG_c := ezquake-$(LSYS)-$(CPU)$(EZ_POSTFIX)
+ TARG_c := ezquake
endif
all: $(TARG_c)