svn commit: r323300 - head/games/tetrinet
Johan van Selst
johans at FreeBSD.org
Fri Jul 19 14:59:11 UTC 2013
Author: johans
Date: Fri Jul 19 14:59:11 2013
New Revision: 323300
URL: http://svnweb.freebsd.org/changeset/ports/323300
Log:
Rename variable 'log' to avoid conflicts with function 'log'
This fixes compilation on CURRENT
Modified:
head/games/tetrinet/Makefile
Modified: head/games/tetrinet/Makefile
==============================================================================
--- head/games/tetrinet/Makefile Fri Jul 19 14:49:17 2013 (r323299)
+++ head/games/tetrinet/Makefile Fri Jul 19 14:59:11 2013 (r323300)
@@ -22,6 +22,10 @@ PLIST_FILES= bin/tetrinet bin/tetrinet-s
PORTDOCS= README tetrinet.txt
.endif
+post-patch:
+ ${REINPLACE_CMD} -e '/-log/n; s/[[:<:]]log[[:>:]]/dolog/g' \
+ ${WRKSRC}/tetrinet.h ${WRKSRC}/tetrinet.c ${WRKSRC}/sockets.c
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tetrinet ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tetrinet-server ${PREFIX}/bin
More information about the svn-ports-head
mailing list