summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2007-04-18 10:50:38 +0000
committerJohan van Selst <johans@FreeBSD.org>2007-04-18 10:50:38 +0000
commit74917ad0141612efe67623167cd5906f01133d5f (patch)
treec91a643e60e510b567348b583f4ba710e29c7397 /games
parentRemove the left-overs of socks5.sh.sample. (diff)
Add patch to fix build on sparc64
Reported by: krismail
Notes
Notes: svn path=/head/; revision=190283
Diffstat (limited to 'games')
-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} \