1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Rename variable 'log' to avoid conflicts with function 'log'

This fixes compilation on CURRENT
This commit is contained in:
Johan van Selst 2013-07-19 14:59:11 +00:00
parent 5726843e2a
commit 428bb1470b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323300

View File

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