ports/emulators/fmsx/files/patch-EMULib_Rules.gcc
Tobias Kortkamp f8941f021c emulators/fmsx: Update to 5.4
- Reset maintainer; the port has been broken for over 5 months and
  there have been > 3 timeouts before (going as far back as 2004)
  so the current maintainer seems to not be interested anymore.

PR:		229848
Submitted by:	Kai <freebsd_ports@k-worx.org>
2018-07-18 11:36:46 +00:00

22 lines
559 B
Text

--- EMULib/Rules.gcc.orig 2018-07-18 11:20:20 UTC
+++ EMULib/Rules.gcc
@@ -7,14 +7,14 @@ LIB68K = $(BASEDIR)/M68000
LIBGBZ = $(BASEDIR)/GBZ80
PRIVATE = $(BASEDIR)/Private
-CXX = g++
-CC = gcc
-CPP = cpp
+CXX ?= g++
+CC ?= gcc
+CPP ?= cpp
MOC = moc
SDT2GAS = perl $(EMULIB)/Tools/sdt2gas.pl
-CFLAGS = -O2 -pthread -I. -I.. -I$(EMULIB)
+CFLAGS += -pthread -I. -I.. -I$(EMULIB)
DEFINES = -DZLIB
-LIBS = -lz -lpthread
+LIBS += -lz -lpthread
# EMULib sound, console, and other utility functions
OBJECTS = $(EMULIB)/EMULib.o $(EMULIB)/Sound.o \