freebsd-ports/emulators/yape/files/patch-Makefile
Marcus Alves Grando c9d9748b76 Update to 0.32.4 [1]
Mark IGNORE when system < 5.3 (don't have fmin(3) and fmax(3) functions)

PR:		87269 [1]
Submitted by:	Janos Mohacsi <janos.mohacsi@niif.hu> (maintainer)
2005-10-13 14:44:05 +00:00

16 lines
390 B
Text

$FreeBSD$
--- Makefile.orig Thu Oct 13 00:09:50 2005
+++ Makefile Thu Oct 13 00:10:03 2005
@@ -12,8 +12,8 @@
headers = $(objects:.o=.h)
-CC = g++
-cflags = -O3 -finline -frerun-loop-opt -Winline `sdl-config --cflags`
+CC = $(CXX)
+cflags = $(CFLAGS) -finline -frerun-loop-opt -Winline `sdl-config --cflags`
libs = `sdl-config --libs`
#SDL_CFLAGS := $(shell sdl-config --cflags)