aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--games/kdegames3/Makefile4
-rw-r--r--games/kdegames4/Makefile4
2 files changed, 8 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>
diff --git a/games/kdegames4/Makefile b/games/kdegames4/Makefile
index d4aad7f703eb..c830afdec8d0 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>