summaryrefslogtreecommitdiff
path: root/games/stroq
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-30 11:18:08 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-30 11:18:08 +0000
commit3b3593ccfb0c850c612008b49221de77743aee8b (patch)
treeb4a81a057888db5e022220dd99d1cecfa624a611 /games/stroq
parent- Update to 1.3.6 (diff)
- Fix build with gcc4.1
PR: ports/103818 Submitted by: Dmitry Marakasov <amdmi3(at)mail.ru> (maintainer)
Notes
Notes: svn path=/head/; revision=174166
Diffstat (limited to 'games/stroq')
-rw-r--r--games/stroq/Makefile8
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; \