Date: Sun, 31 Jan 2016 09:04:46 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407595 - in head/games/kajaani-kombat: . files Message-ID: <201601310904.u0V94k08083294@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sun Jan 31 09:04:46 2016 New Revision: 407595 URL: https://svnweb.freebsd.org/changeset/ports/407595 Log: games/kajaani-kombat: USES+= ncurses, respect LDFLAGS While here, change specification from -lcurses to -lncurses. The former does not exist in ports ncurses package and it is an alias for libncurses in base. Added: head/games/kajaani-kombat/files/patch-Makefile (contents, props changed) Modified: head/games/kajaani-kombat/Makefile Modified: head/games/kajaani-kombat/Makefile ============================================================================== --- head/games/kajaani-kombat/Makefile Sun Jan 31 08:58:27 2016 (r407594) +++ head/games/kajaani-kombat/Makefile Sun Jan 31 09:04:46 2016 (r407595) @@ -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 Added: head/games/kajaani-kombat/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/kajaani-kombat/files/patch-Makefile Sun Jan 31 09:04:46 2016 (r407595) @@ -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 +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601310904.u0V94k08083294>