--- Makefile.orig 2014-07-15 21:18:18.000000000 +0400 +++ Makefile 2014-07-26 09:38:08.000000000 +0400 @@ -18,15 +18,17 @@ GH_TAGNAME= ${PORTVERSION} GH_COMMIT= 58bd7c6 -USES= gmake pkgconfig +USES= gmake pkgconfig:build ALL_TARGET= game server -USE_GL= glew -USE_SDL= image mixer ttf +USE_GL= glew glu +USE_SDL= sdl image mixer ttf PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}-server post-patch: - @${ECHO_CMD} >> ${WRKSRC}/src/difficulty.hpp + @${REINPLACE_CMD} -e \ + 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|-Werror||' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's,%lu,%u,' ${WRKSRC}/src/server.cpp @${REINPLACE_CMD} -e 's,__linux__,__${OPSYS}__,' \ ${WRKSRC}/src/clipboard.cpp