Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Feb 2016 22:22:30 +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: r408112 - in head/games/tetrinet: . files
Message-ID:  <201602042222.u14MMUCM047941@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Thu Feb  4 22:22:30 2016
New Revision: 408112
URL: https://svnweb.freebsd.org/changeset/ports/408112

Log:
  games/tetrinet: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
  
  approved by:	infrastructure blanket

Added:
  head/games/tetrinet/files/
  head/games/tetrinet/files/patch-Makefile   (contents, props changed)
Modified:
  head/games/tetrinet/Makefile

Modified: head/games/tetrinet/Makefile
==============================================================================
--- head/games/tetrinet/Makefile	Thu Feb  4 22:21:04 2016	(r408111)
+++ head/games/tetrinet/Makefile	Thu Feb  4 22:22:30 2016	(r408112)
@@ -9,6 +9,7 @@ MASTER_SITES=	http://tetrinet.or.cz/down
 MAINTAINER=	johans@FreeBSD.org
 COMMENT=	Console tetrinet client
 
+USES=		ncurses
 MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DHAVE_IPV6 -fno-builtin-log"
 PLIST_FILES=	bin/tetrinet bin/tetrinet-server
 

Added: head/games/tetrinet/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/tetrinet/files/patch-Makefile	Thu Feb  4 22:22:30 2016	(r408112)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2003-10-05 18:39:24 UTC
++++ Makefile
+@@ -30,7 +30,7 @@ binonly:
+ ########
+ 
+ tetrinet: $(OBJS)
+-	$(CC) -o $@ $(OBJS) -lncurses
++	$(CC) -o $@ $(OBJS) $(LDFLAGS) -lncurses
+ 
+ tetrinet-server: server.c sockets.c tetrinet.c tetris.c server.h sockets.h tetrinet.h tetris.h
+ 	$(CC) $(CFLAGS) -o $@ -DSERVER_ONLY server.c sockets.c tetrinet.c tetris.c



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