aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-01-31 16:28:47 +0800
committermarino <marino@FreeBSD.org>2016-01-31 16:28:47 +0800
commit890f0423d7ce1ef03cec86b7ad6ac6cf49e443ad (patch)
tree6f2d12fd7834ab558285c6b7606148811264c8ca /games
parentb0fe847bde1bfaa48780345978154ad12c0e0ae4 (diff)
downloadfreebsd-ports-gnome-890f0423d7ce1ef03cec86b7ad6ac6cf49e443ad.tar.gz
freebsd-ports-gnome-890f0423d7ce1ef03cec86b7ad6ac6cf49e443ad.tar.zst
freebsd-ports-gnome-890f0423d7ce1ef03cec86b7ad6ac6cf49e443ad.zip
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.
Diffstat (limited to 'games')
-rw-r--r--games/tt/Makefile2
-rw-r--r--games/tt/files/patch-Makefile13
2 files changed, 11 insertions, 4 deletions
diff --git a/games/tt/Makefile b/games/tt/Makefile
index 84973088e9d9..1cfc75a8fc52 100644
--- a/games/tt/Makefile
+++ b/games/tt/Makefile
@@ -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
diff --git a/games/tt/files/patch-Makefile b/games/tt/files/patch-Makefile
index 59546a2781f3..27398df24016 100644
--- a/games/tt/files/patch-Makefile
+++ b/games/tt/files/patch-Makefile
@@ -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?
+