1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/mrboom/files/patch-Makefile
2020-12-30 23:41:17 +00:00

29 lines
1.0 KiB
Plaintext

--- Makefile.orig 2020-12-30 21:19:43 UTC
+++ Makefile
@@ -3,7 +3,6 @@ AR := ar
INSTALL := install
RM := rm
STRIP := strip
-GIT_VERSION := " $(shell git rev-parse --short HEAD)"
BINDIR ?= bin
LIBDIR ?= lib
DATADIR ?= share
@@ -16,7 +15,7 @@ CFLAGS := $(filter-out -D_FORTIFY_SOURCE=2,$(CFLAGS))
CFLAGS := $(filter-out -D_FORTIFY_SOURCE,$(CFLAGS))
CXXFLAGS := $(filter-out -D_FORTIFY_SOURCE=1,$(CXXFLAGS))
CXXFLAGS := $(filter-out -D_FORTIFY_SOURCE=2,$(CXXFLAGS))
-CXXFLAGS := $(filter-out -D_FORTIFY_SOURCE,$(CXXFLAGS))
+
CPPFLAGS := $(filter-out -D_FORTIFY_SOURCE=1,$(CPPFLAGS))
CPPFLAGS := $(filter-out -D_FORTIFY_SOURCE=2,$(CPPFLAGS))
CPPFLAGS := $(filter-out -D_FORTIFY_SOURCE,$(CPPFLAGS))
@@ -572,7 +571,7 @@ else
endif
endif
-CFLAGS += -DMRBOOM -DHAVE_IBXM -D_FORTIFY_SOURCE=0 -DPLATFORM=\"$(platform)\" -DGIT_VERSION=\"$(GIT_VERSION)\"
+CFLAGS += -DMRBOOM -DHAVE_IBXM -D_FORTIFY_SOURCE=0 -DPLATFORM=\"$(platform)\"
SDL2LIBS := -lSDL2 -lSDL2_mixer -lminizip