diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-09-30 19:18:08 +0800 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-09-30 19:18:08 +0800 |
commit | 3b3593ccfb0c850c612008b49221de77743aee8b (patch) | |
tree | b4a81a057888db5e022220dd99d1cecfa624a611 | |
parent | b8f0e4c8b2d736e192d7c4061a1986eb34dfbef9 (diff) | |
download | freebsd-ports-gnome-3b3593ccfb0c850c612008b49221de77743aee8b.tar.gz freebsd-ports-gnome-3b3593ccfb0c850c612008b49221de77743aee8b.tar.zst freebsd-ports-gnome-3b3593ccfb0c850c612008b49221de77743aee8b.zip |
- Fix build with gcc4.1
PR: ports/103818
Submitted by: Dmitry Marakasov <amdmi3(at)mail.ru> (maintainer)
-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; \ |