Index: Makefile =================================================================== RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/games/vavoom/Makefile,v retrieving revision 1.48 diff -u -r1.48 Makefile --- Makefile 12 Dec 2009 14:27:41 -0000 1.48 +++ Makefile 29 Dec 2009 02:09:01 -0000 @@ -33,8 +33,6 @@ SUB_FILES= pkg-message -BROKEN= fails to build with new cmake. - .include # The `-fno-strict-aliasing' flag (default on FreeBSD 6.0+) produces @@ -137,6 +135,19 @@ @${REINPLACE_CMD} -e 's///' \ ${WRKSRC}/utils/acc/strlist.c +.if defined(WITH_LAUNCHER) + @${REINPLACE_CMD} -e '/add_definitions($${wxWidgets_DEFINITIONS})/d; \ + s/include_directories($${wxWidgets_INCLUDE_DIRS})/include($${wxWidgets_USE_FILE})/' \ + ${WRKSRC}/utils/vlaunch/CMakeLists.txt +.endif + +post-configure: +.if defined(WITH_LAUNCHER) + @${REINPLACE_CMD} -e 's/-pthread;-D_THREAD_SAFE //; \ + s/-isystem /-I/g' \ + ${WRKSRC}/utils/vlaunch/CMakeFiles/vlaunch.dir/flags.make +.endif + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR}