aboutsummaryrefslogtreecommitdiff
path: root/games/kajaani-kombat/files
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-01-31 09:04:46 +0000
committerJohn Marino <marino@FreeBSD.org>2016-01-31 09:04:46 +0000
commit18bb4f113968c1e9e70cb56eadea6727c95ff042 (patch)
tree8507e62bac14a9a4deb022e1e868d5e62e4a3a66 /games/kajaani-kombat/files
parentd4aa3d54784df3552cbcf36cf9eb87cef1124861 (diff)
downloadports-18bb4f113968c1e9e70cb56eadea6727c95ff042.tar.gz
ports-18bb4f113968c1e9e70cb56eadea6727c95ff042.zip
Notes
Diffstat (limited to 'games/kajaani-kombat/files')
-rw-r--r--games/kajaani-kombat/files/patch-Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/games/kajaani-kombat/files/patch-Makefile b/games/kajaani-kombat/files/patch-Makefile
new file mode 100644
index 000000000000..2aef69927e51
--- /dev/null
+++ b/games/kajaani-kombat/files/patch-Makefile
@@ -0,0 +1,23 @@
+--- Makefile.orig 2005-01-31 18:57:14 UTC
++++ Makefile
+@@ -47,7 +47,7 @@ endif
+ INS=/usr/bin/install
+
+ client_libs = `sdl-config --libs` -lSDL_net -lSDL_image -lSDL_ttf -lSDL_mixer
+-server_libs = `sdl-config --libs` -lSDL_net -lcurses
++server_libs = `sdl-config --libs` -lSDL_net -lncurses
+
+ client_objs = game_obj.o terrain.o msg.o rotozoom.o gfx.o game_client.o main.o coord.o block.o \
+ particle_efects.o animation.o gfx_functions.o gui.o gui_screens.o game_server.o audio.o\
+@@ -85,9 +85,9 @@ connects.o: connects.h connects.cpp msg.
+ client_net.o: client_net.h client_net.cpp globals.h monitor_queue.h msg.h
+
+ client: $(client_objs)
+- $(CXX) $(client_objs) -o kajaani-kombat $(client_libs)
++ $(CXX) $(client_objs) -o kajaani-kombat $(LDFLAGS) $(client_libs)
+ server: $(server_objs)
+- $(CXX) $(server_objs) -o kajaani-kombat-server $(server_libs)
++ $(CXX) $(server_objs) -o kajaani-kombat-server $(LDFLAGS) $(server_libs)
+
+ .PHONY: all clean client server install
+