1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

games/wesnoth: convert to BROKEN helper

While here use more common wording for build failure.

Approved by:	portmgr blanket
This commit is contained in:
Jan Beich 2015-08-28 15:30:10 +00:00
parent 7d3ae30a71
commit 853286e43f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395499

View File

@ -61,24 +61,16 @@ NOTIFY_CMAKE_OFF=-DENABLE_NOTIFICATIONS=off
OPENMP_DESC= OpenMP support
OPENMP_USES= compiler:openmp
OPENMP_CMAKE_ON=-DENABLE_OMP=on
OPENMP_BROKEN= Does not compile with OPENMP option enabled
RAWSOCKETS_DESC= Use raw receiving sockets in multiplayer
RAWSOCKETS_CFLAGS=-DNETWORK_USE_RAW_SOCKETS
SERVER_DESC= Server
SERVER_CMAKE_OFF=-DENABLE_SERVER=off
TEST_CMAKE_ON= -DENABLE_TESTS=on
TEST_BROKEN= Does not compile with TEST option enabled
TOOLS_DESC= Extra tools for artists and translators
TOOLS_CMAKE_ON= -DENABLE_TOOLS=on
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENMP}
BROKEN= compilation fails with OpenMP
.endif
.if ${PORT_OPTIONS:MTEST}
BROKEN= compilations fails with enabled TEST option
.endif
post-install:
${FIND} ${STAGEDIR}${PREFIX}/man -type d -empty -delete