diff options
author | John Marino <marino@FreeBSD.org> | 2016-01-31 09:04:46 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-01-31 09:04:46 +0000 |
commit | 18bb4f113968c1e9e70cb56eadea6727c95ff042 (patch) | |
tree | 8507e62bac14a9a4deb022e1e868d5e62e4a3a66 /games/kajaani-kombat | |
parent | d4aa3d54784df3552cbcf36cf9eb87cef1124861 (diff) | |
download | ports-18bb4f113968c1e9e70cb56eadea6727c95ff042.tar.gz ports-18bb4f113968c1e9e70cb56eadea6727c95ff042.zip |
Notes
Diffstat (limited to 'games/kajaani-kombat')
-rw-r--r-- | games/kajaani-kombat/Makefile | 2 | ||||
-rw-r--r-- | games/kajaani-kombat/files/patch-Makefile | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/games/kajaani-kombat/Makefile b/games/kajaani-kombat/Makefile index d5ac08cb2cb7..c7d3c5b86d6b 100644 --- a/games/kajaani-kombat/Makefile +++ b/games/kajaani-kombat/Makefile @@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 -USES= gmake iconv +USES= gmake iconv ncurses USE_SDL= sdl image mixer net ttf ALL_TARGET= client server 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 + |