Date: Sun, 31 Jan 2016 09:31:51 +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: r407598 - in head/games/seabattle: . files Message-ID: <201601310931.u0V9VpCt090264@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601310931.u0V9VpCt090264>