From 3b3593ccfb0c850c612008b49221de77743aee8b Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 30 Sep 2006 11:18:08 +0000 Subject: - Fix build with gcc4.1 PR: ports/103818 Submitted by: Dmitry Marakasov (maintainer) --- games/stroq/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 .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; \ -- cgit