From d5c1e44fa276572d93be28455c0669bd65de443f Mon Sep 17 00:00:00 2001 From: johans Date: Fri, 19 Jul 2013 14:59:11 +0000 Subject: Rename variable 'log' to avoid conflicts with function 'log' This fixes compilation on CURRENT --- games/tetrinet/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'games') diff --git a/games/tetrinet/Makefile b/games/tetrinet/Makefile index 3f94e4c04113..3aab534b6a38 100644 --- a/games/tetrinet/Makefile +++ b/games/tetrinet/Makefile @@ -22,6 +22,10 @@ PLIST_FILES= bin/tetrinet bin/tetrinet-server 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 -- cgit