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:
parent
5726843e2a
commit
428bb1470b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=323300
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user