pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/games/lgogdownloader lgogdownloader: Needs 64-bit atom...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6846be3fbc6
branches:  trunk
changeset: 407799:f6846be3fbc6
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jan 10 11:22:52 2020 +0000

description:
lgogdownloader: Needs 64-bit atomic ops on i386

diffstat:

 games/lgogdownloader/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r f1e00cddd908 -r f6846be3fbc6 games/lgogdownloader/Makefile
--- a/games/lgogdownloader/Makefile     Fri Jan 10 11:18:03 2020 +0000
+++ b/games/lgogdownloader/Makefile     Fri Jan 10 11:22:52 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.42 2019/12/21 21:21:12 nia Exp $
+# $NetBSD: Makefile,v 1.43 2020/01/10 11:22:52 nia Exp $
 
 DISTNAME=      lgogdownloader-3.5
 PKGREVISION=   3
@@ -16,6 +16,13 @@
 USE_CMAKE=     yes
 USE_TOOLS+=    pkg-config
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "i386"
+# 64 bit atomic ops are required
+CXXFLAGS+=             -march=i586
+.endif
+
 CMAKE_ARGS+=   -DJSONCPP_INCLUDE_DIR=${BUILDLINK_DIR}/include/json
 
 .include "../../devel/boost-libs/buildlink3.mk"



Home | Main Index | Thread Index | Old Index