pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/xonotic xonotic: Fix building on i386



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83428a809fe8
branches:  trunk
changeset: 458124:83428a809fe8
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Sep 10 11:30:05 2021 +0000

description:
xonotic: Fix building on i386

diffstat:

 games/xonotic/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 97dc2c04f5ea -r 83428a809fe8 games/xonotic/Makefile
--- a/games/xonotic/Makefile    Fri Sep 10 11:20:03 2021 +0000
+++ b/games/xonotic/Makefile    Fri Sep 10 11:30:05 2021 +0000
@@ -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="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



Home | Main Index | Thread Index | Old Index