svn commit: r407598 - in head/games/seabattle: . files
John Marino
marino at FreeBSD.org
Sun Jan 31 09:31:53 UTC 2016
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 at 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
More information about the svn-ports-head
mailing list