summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-09-10 11:30:05 +0000
committernia <nia@pkgsrc.org>2021-09-10 11:30:05 +0000
commit5e33e5f6b11c75c6accc8129293bdead780d8362 (patch)
tree9e065f5003845fa05fd36136bf03ca20d02295b4 /games
parent432578e2aabe014d91b4230be2641503f2c6ba24 (diff)
downloadpkgsrc-5e33e5f6b11c75c6accc8129293bdead780d8362.tar.gz
xonotic: Fix building on i386
Diffstat (limited to 'games')
-rw-r--r--games/xonotic/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/xonotic/Makefile b/games/xonotic/Makefile
index 24e26b3e625..0f19ef3dd3f 100644
--- a/games/xonotic/Makefile
+++ b/games/xonotic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2021/09/08 21:05:10 nia Exp $
+# $NetBSD: Makefile,v 1.10 2021/09/10 11:30:05 nia Exp $
DISTNAME= xonotic-0.8.2
PKGREVISION= 4
@@ -32,6 +32,10 @@ PLIST_SUBST+= FAKE_PLATFORM="linux64"
PLIST_SUBST+= FAKE_PLATFORM="linux32"
.endif
+.if ${MACHINE_ARCH} == "i386"
+CFLAGS+= -msse
+.endif
+
INSTALLATION_DIRS+= share/applications
.for s in ${ICON_SIZES}
INSTALLATION_DIRS+= share/icons/hicolor/${s}x${s}/apps