aboutsummaryrefslogtreecommitdiffstats
path: root/games/wolfpack
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2007-04-18 18:50:38 +0800
committerjohans <johans@FreeBSD.org>2007-04-18 18:50:38 +0800
commit84df3c52222b128c0d122bbf3110498552cc1f4e (patch)
treeebba2caff55b97f6fcd436fb58e035abcfd09b97 /games/wolfpack
parentcc609866cb7f2065338c627872c444979cee0e1e (diff)
downloadfreebsd-ports-gnome-84df3c52222b128c0d122bbf3110498552cc1f4e.tar.gz
freebsd-ports-gnome-84df3c52222b128c0d122bbf3110498552cc1f4e.tar.zst
freebsd-ports-gnome-84df3c52222b128c0d122bbf3110498552cc1f4e.zip
Add patch to fix build on sparc64
Reported by: krismail
Diffstat (limited to 'games/wolfpack')
-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} \