diff options
-rw-r--r-- | games/tetrinet/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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 |