aboutsummaryrefslogtreecommitdiff
path: root/games/xonotic
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2008-08-13 10:39:33 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2008-08-13 10:39:33 +0000
commit00b261a3a5f84cedf1480e776ec45b2da83309f1 (patch)
tree9ba16b180190f0a789dd92eb24f41f996c3b364f /games/xonotic
parent2b8c6eb7f296420d62e1cc20ca6e93317e7e4171 (diff)
downloadports-00b261a3a5f84cedf1480e776ec45b2da83309f1.tar.gz
ports-00b261a3a5f84cedf1480e776ec45b2da83309f1.zip
Notes
Diffstat (limited to 'games/xonotic')
-rw-r--r--games/xonotic/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile
index 5279181254a8..5bbce0df7683 100644
--- a/games/xonotic/Makefile
+++ b/games/xonotic/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nexuiz
PORTVERSION= 2.4.2
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
@@ -77,6 +78,11 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' ${WRKSRC}/${MAKEFILE}
+# Make Nexuiz' lhnetaddress structure really compatible with FreeBSD's
+# sockaddr_in, and fix value for LHNETADDRESSTYPE_INET6_FAMILY
+ @${REINPLACE_CMD} -e 's,10,28, ; \
+ s,short family,char sin_len; unsigned char family,' \
+ ${WRKSRC}/lhnet.h
do-build:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \