freebsd-ports/games/rottdc/files/patch-Makefile
Kirill Ponomarev 67676e1060 Add rottdc 1.0.2,
This is a port of Apogee's 3D action title Rise of the Triad,
originally released in 1994. This port duplicates the
functionality of the original game on modern operating systems,
including Linux, Win32, OSX and now FreeBSD. In order to run
game you'll need original game data.

PR:		ports/63049
Submitted by:	Igor Pokrovsky <tiamat@comset.net>
2004-02-19 08:56:29 +00:00

35 lines
1.1 KiB
Text

--- Makefile.orig Wed Jan 1 12:23:03 2003
+++ Makefile Wed Feb 18 08:55:16 2004
@@ -8,8 +8,8 @@
# the build process's behaviour, set it to "true" or "false" (w/o quotes).
#-----------------------------------------------------------------------------#
#cygwin := true
-#cygwin := false
-cygwin := autodetect
+cygwin := false
+#cygwin := autodetect
# you only need to set these for Cygwin at the moment.
SDL_INC_DIR = /cygdrive/c/SDL/include
@@ -40,15 +40,15 @@
SDL_LDFLAGS := -L$(SDL_LIB_DIR) -lSDL
endif
else
- SDL_CFLAGS := $(shell sdl-config --cflags)
- SDL_LDFLAGS := $(shell sdl-config --libs)
- EXTRACFLAGS += -DUSE_EXECINFO=1
+ SDL_CFLAGS := $(shell ${SDL_CONFIG} --cflags)
+ SDL_LDFLAGS := $(shell ${SDL_CONFIG} --libs)
+# EXTRACFLAGS += -DUSE_EXECINFO=1
endif
-CC = gcc
-CFLAGS = -g $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused $(EXTRACFLAGS)
-LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS) -Wl,-E
+#CC = gcc
+CFLAGS += -g $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -W -Wall -Wno-unused $(EXTRACFLAGS)
+LDLIBS = $(SDL_LDFLAGS) -lSDL_mixer $(EXTRALDFLAGS) -Wl,-E
all: rott