summaryrefslogtreecommitdiff
path: root/games/kdegames3
diff options
context:
space:
mode:
Diffstat (limited to 'games/kdegames3')
-rw-r--r--games/kdegames3/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/kdegames3/Makefile b/games/kdegames3/Makefile
index d4aad7f703eb..c830afdec8d0 100644
--- a/games/kdegames3/Makefile
+++ b/games/kdegames3/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>