pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/lgogdownloader



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri Jan 10 11:22:52 UTC 2020

Modified Files:
        pkgsrc/games/lgogdownloader: Makefile

Log Message:
lgogdownloader: Needs 64-bit atomic ops on i386


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/games/lgogdownloader/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/games/lgogdownloader/Makefile
diff -u pkgsrc/games/lgogdownloader/Makefile:1.42 pkgsrc/games/lgogdownloader/Makefile:1.43
--- pkgsrc/games/lgogdownloader/Makefile:1.42   Sat Dec 21 21:21:12 2019
+++ pkgsrc/games/lgogdownloader/Makefile        Fri Jan 10 11:22:52 2020
@@ -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_LANGUAGES=       c c++
 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