aboutsummaryrefslogtreecommitdiffstats
path: root/games/wolfpack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/wolfpack/Makefile')
-rw-r--r--games/wolfpack/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/wolfpack/Makefile b/games/wolfpack/Makefile
index d0fa1bb550ad..189a65fa9716 100644
--- a/games/wolfpack/Makefile
+++ b/games/wolfpack/Makefile
@@ -36,6 +36,10 @@ MAN6= empire.6 emp_server.6
post-patch:
${REINPLACE_CMD} -e '/^econfig/,/^$$/s|/empire|/${PORTNAME}|' \
${WRKSRC}/Make.mk
+.if ${ARCH} == "sparc64"
+ ${REINPLACE_CMD} -e '/ucontext\.h/p; s|ucontext\.h|sys/types.h|' \
+ ${WRKSRC}/src/lib/lwp/lwpint.h
+.endif
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \