svn commit: r407586 - in head/games/tt: . files

John Marino marino at FreeBSD.org
Sun Jan 31 08:28:49 UTC 2016


Author: marino
Date: Sun Jan 31 08:28:47 2016
New Revision: 407586
URL: https://svnweb.freebsd.org/changeset/ports/407586

Log:
  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.

Modified:
  head/games/tt/Makefile
  head/games/tt/files/patch-Makefile

Modified: head/games/tt/Makefile
==============================================================================
--- head/games/tt/Makefile	Sun Jan 31 08:21:49 2016	(r407585)
+++ head/games/tt/Makefile	Sun Jan 31 08:28:47 2016	(r407586)
@@ -9,6 +9,8 @@ MASTER_SITES=	http://www.miketaylor.org.
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Tetris for Terminals
 
+USES=		ncurses
+
 ALL_TARGET=	tt
 
 OPTIONS_DEFINE=	DOCS

Modified: head/games/tt/files/patch-Makefile
==============================================================================
--- head/games/tt/files/patch-Makefile	Sun Jan 31 08:21:49 2016	(r407585)
+++ head/games/tt/files/patch-Makefile	Sun Jan 31 08:28:47 2016	(r407586)
@@ -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?
+ 


More information about the svn-ports-head mailing list