games/tt: document ncurses requirement (USES+= ncurses)

It was linking -lcurses -ltermcap but on FreeBSD these are the aliases
for the same library, -lncurses, so just specific that directly.
This commit is contained in:
John Marino 2016-01-31 08:28:47 +00:00
parent 4119b6af1b
commit c66d842480
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=407586
2 changed files with 11 additions and 4 deletions

View File

@ -9,6 +9,8 @@ MASTER_SITES= http://www.miketaylor.org.uk/tech/tt/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tetris for Terminals
USES= ncurses
ALL_TARGET= tt
OPTIONS_DEFINE= DOCS

View File

@ -1,6 +1,6 @@
--- Makefile.orig Thu Sep 11 15:09:08 2003
+++ Makefile Fri Sep 12 22:20:35 2003
@@ -6,10 +6,10 @@
--- Makefile.orig 2003-05-27 10:46:17 UTC
+++ Makefile
@@ -6,13 +6,14 @@ OBJ = $(SRC:.c=.o)
LINTFLAGS = -abh
# --- Choose one of these CFLAGS ---
@ -14,4 +14,9 @@
+#CFLAGS += $(OPT) -DNO_USLEEP_SYSCALL # Generic BSD?
# --- Choose one of these LDLIBS ---
LDLIBS = -lcurses -ltermcap # Sun and Generic BSD
-LDLIBS = -lcurses -ltermcap # Sun and Generic BSD
+LDLIBS= -lncurses
+#LDLIBS = -lcurses -ltermcap # Sun and Generic BSD
#LDLIBS = -lcurses -lx # SCO System V
#LBLIBS = -lcurses # Generic System V?