openbsd-ports/games/uhexen2/patches/patch-h2patch_Makefile
edd 35698f718e games/uhexen2: Update to version 1.5.9.
Sent in from Paul Valencia, with some minor tweaks from myself.

Tested by thfr@

Thanks both.
2020-06-08 21:15:19 +00:00

22 lines
396 B
Plaintext

$OpenBSD: patch-h2patch_Makefile,v 1.2 2020/06/08 21:15:19 edd Exp $
Use standard optimisations.
Index: h2patch/Makefile
--- h2patch/Makefile.orig
+++ h2patch/Makefile
@@ -19,13 +19,6 @@ LINKER = $(CC)
CPUFLAGS=
CFLAGS = -Wall
-CFLAGS += $(CPUFLAGS)
-ifndef DEBUG
-CFLAGS += -O2 -DNDEBUG=1
-else
-CFLAGS += -g
-endif
-LDFLAGS =
XDELTA_DIR:= $(LIBS_DIR)/xdelta3
XDFLAGS:= -DXD3_DEBUG=0