From owner-svn-ports-all@freebsd.org Sun Jan 31 09:31:53 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 2AE4EA74D3E; Sun, 31 Jan 2016 09:31:53 +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 E95718E7; Sun, 31 Jan 2016 09:31:52 +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 u0V9VpPQ090266; Sun, 31 Jan 2016 09:31:51 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0V9VpCt090264; Sun, 31 Jan 2016 09:31:51 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201601310931.u0V9VpCt090264@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:31:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407598 - in head/games/seabattle: . 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:31:53 -0000 Author: marino Date: Sun Jan 31 09:31:51 2016 New Revision: 407598 URL: https://svnweb.freebsd.org/changeset/ports/407598 Log: games/seabattle: USES+= ncurses, respect LDFLAGS Modified: head/games/seabattle/Makefile head/games/seabattle/files/patch-Makefile Modified: head/games/seabattle/Makefile ============================================================================== --- head/games/seabattle/Makefile Sun Jan 31 09:25:33 2016 (r407597) +++ head/games/seabattle/Makefile Sun Jan 31 09:31:51 2016 (r407598) @@ -11,6 +11,8 @@ MASTER_SITES= SUNSITE/games/strategy/ \ MAINTAINER= ports@FreeBSD.org COMMENT= Curses based battleship type game +USES= ncurses + OPTIONS_DEFINE= DOCS do-install: Modified: head/games/seabattle/files/patch-Makefile ============================================================================== --- head/games/seabattle/files/patch-Makefile Sun Jan 31 09:25:33 2016 (r407597) +++ head/games/seabattle/files/patch-Makefile Sun Jan 31 09:31:51 2016 (r407598) @@ -1,5 +1,5 @@ ---- Makefile.orig Wed May 14 02:53:34 1997 -+++ Makefile Fri Feb 2 04:20:41 2001 +--- Makefile.orig 1997-05-13 17:53:34 UTC ++++ Makefile @@ -8,7 +8,7 @@ ############################################################## @@ -9,7 +9,7 @@ #CC = cc #On Suns, SGIs, and other Unix systems uncomment the following -@@ -17,12 +17,12 @@ +@@ -17,12 +17,12 @@ CC = gcc #C_OPTS = #L_OPTS = -lcurses @@ -18,11 +18,12 @@ # -PLATFORM = Linux -C_OPTS = -O2 -Wall +-L_OPTS = -lncurses +- +PLATFORM = FreeBSD/Linux +DATADIR = ${PREFIX}/share/seabattle +C_OPTS = ${CFLAGS} -DDATADIR=\"${DATADIR}\" - L_OPTS = -lncurses -- ++L_OPTS = $(LDFLAGS) -lncurses #For Dos/Windows DJGPP (you need the curses lib) #PLATFORM = DOS_DJGPP