svn commit: r408112 - in head/games/tetrinet: . files

John Marino marino at FreeBSD.org
Thu Feb 4 22:22:32 UTC 2016


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 at 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


More information about the svn-ports-all mailing list