From owner-svn-ports-all@freebsd.org Sun Jan 31 09:04:48 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 462B8A74519; Sun, 31 Jan 2016 09:04:48 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F3D941AA5; Sun, 31 Jan 2016 09:04:47 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0V94lkO083296; Sun, 31 Jan 2016 09:04:47 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0V94k08083294; Sun, 31 Jan 2016 09:04:46 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201601310904.u0V94k08083294@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sun, 31 Jan 2016 09:04:46 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2016 09:04:48 -0000 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 +