diff options
author | John Marino <marino@FreeBSD.org> | 2013-10-01 20:04:02 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2013-10-01 20:04:02 +0000 |
commit | 3305c2f2e75a36ea0a4d21798609f2261e777dcc (patch) | |
tree | 0eb043fa8bad0eeb6e78731d6b1f05be06aaef8d /games/warmux/Makefile | |
parent | 4c10c9f84578ae7349ee1524f750925e2b7f23b7 (diff) | |
download | ports-3305c2f2e75a36ea0a4d21798609f2261e777dcc.tar.gz ports-3305c2f2e75a36ea0a4d21798609f2261e777dcc.zip |
games/warmux: add <unistd.h> for modern compilers
The DEBUG option, which is now default, sets the -Werror flag that was
removed with a sed replace command for some makefiles. Newer compilers
will pick up set-but-unused errors so -Werror really has to be disabled
everywhere on newer compilers.
Approved by: portmgr (bapt, implicit)
Notes
Notes:
svn path=/head/; revision=328988
Diffstat (limited to 'games/warmux/Makefile')
-rw-r--r-- | games/warmux/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/games/warmux/Makefile b/games/warmux/Makefile index bc8c2e01cd0f..6faeff391f3f 100644 --- a/games/warmux/Makefile +++ b/games/warmux/Makefile @@ -36,7 +36,7 @@ NO_STAGE= yes post-patch: ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/Makefile.in \ - ${WRKSRC}/src/Makefile.in + ${WRKSRC}/src/Makefile.in ${WRKSRC}/configure ${REINPLACE_CMD} -e "s,warmux_files.desktop,," ${WRKSRC}/data/Makefile.in ${FIND} -d ${WRKSRC}/data/ -name "*.*~" -delete |