--- b/games/instead/Makefile +++ b/games/instead/Makefile @@ -14,8 +14,6 @@ COMMENT= Simple Text Adventure, The Interpreter LICENSE= MIT LICENSE_FILE= ${WRKSRC}/COPYING -BROKEN= close_code.h included without matching begin_code.h - USES= cmake compiler:c++11-lang iconv lua:51 pkgconfig sdl CMAKE_ARGS= -DMANDIR=man @@ -50,4 +48,8 @@ LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit LUAJIT_USE_OFF= lua:51 LUAJIT_CMAKE_BOOL= WITH_LUAJIT +post-patch-SDL2-on: + @${REINPLACE_CMD} -e 's|#include "close_code.h"||' \ + ${WRKSRC}/src/SDL_anigif.h + .include