diff options
author | johans <johans@FreeBSD.org> | 2007-04-18 18:50:38 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2007-04-18 18:50:38 +0800 |
commit | 84df3c52222b128c0d122bbf3110498552cc1f4e (patch) | |
tree | ebba2caff55b97f6fcd436fb58e035abcfd09b97 /games/wolfpack | |
parent | cc609866cb7f2065338c627872c444979cee0e1e (diff) | |
download | freebsd-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/Makefile | 4 |
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} \ |