freebsd-ports/games/mrboom/files/patch-Makefile

29 lines
1 KiB
Text
Raw Normal View History

2020-12-31 00:41:17 +01:00
--- Makefile.orig 2020-12-30 21:19:43 UTC
2020-01-05 00:17:31 +01:00
+++ Makefile
2020-12-31 00:41:17 +01:00
@@ -3,7 +3,6 @@ AR := ar
2020-01-05 00:17:31 +01:00
INSTALL := install
RM := rm
STRIP := strip
2020-12-31 00:41:17 +01:00
-GIT_VERSION := " $(shell git rev-parse --short HEAD)"
BINDIR ?= bin
2020-01-05 00:17:31 +01:00
LIBDIR ?= lib
DATADIR ?= share
2020-12-31 00:41:17 +01:00
@@ -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
2020-01-05 00:17:31 +01:00
-CFLAGS += -DMRBOOM -DHAVE_IBXM -D_FORTIFY_SOURCE=0 -DPLATFORM=\"$(platform)\" -DGIT_VERSION=\"$(GIT_VERSION)\"
+CFLAGS += -DMRBOOM -DHAVE_IBXM -D_FORTIFY_SOURCE=0 -DPLATFORM=\"$(platform)\"
2020-01-05 00:17:31 +01:00
2020-12-31 00:41:17 +01:00
SDL2LIBS := -lSDL2 -lSDL2_mixer -lminizip