Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2016 08:28:47 +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: r407586 - in head/games/tt: . files
Message-ID:  <201601310828.u0V8SlH0070918@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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?
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601310828.u0V8SlH0070918>