diff options
-rw-r--r-- | games/stroq/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/games/stroq/Makefile b/games/stroq/Makefile index c374e5e37d1a..5a1af05e62a3 100644 --- a/games/stroq/Makefile +++ b/games/stroq/Makefile @@ -25,9 +25,15 @@ QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 -BROKEN= "Does not compile on FreeBSD 4.x" +BROKEN= Does not compile on FreeBSD 4.x .endif +post-patch: + ${REINPLACE_CMD} -e 's|PlaySquare::||' ${WRKSRC}/playsquare.h + ${REINPLACE_CMD} -e 's|Puzzle::||' ${WRKSRC}/puzzle.h + ${REINPLACE_CMD} -e 's|Square::||' ${WRKSRC}/square.h + ${REINPLACE_CMD} -e 's|SelectPuzzleDialog::||' ${WRKSRC}/selectpuzzledialog.h + do-configure: @cd ${WRKSRC}; \ ${SETENV} ${MAKE_ENV} ${QMAKE} -project; \ |