aboutsummaryrefslogtreecommitdiffstats
path: root/games/kdegames4
diff options
context:
space:
mode:
Diffstat (limited to 'games/kdegames4')
-rw-r--r--games/kdegames4/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/kdegames4/Makefile b/games/kdegames4/Makefile
index d4aad7f703e..c830afdec8d 100644
--- a/games/kdegames4/Makefile
+++ b/games/kdegames4/Makefile
@@ -29,4 +29,8 @@ CONFIGURE_ARGS+=--disable-debug
.endif
USE_GMAKE= yes
+post-patch:
+ @${PERL} -pi -e 's@(defined\(__sgi\))$@\1 || defined(__FreeBSD__)@' \
+ ${WRKSRC}/ksirtet/lib/wizard.cpp
+
.include <bsd.port.mk>