pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/openrct2



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Dec 23 23:22:04 UTC 2024

Modified Files:
        pkgsrc/games/openrct2: Makefile

Log Message:
(games/openrct2) +GCC_REQD+= 12, tks Mike Pumford, rIllig@, gdt@


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 pkgsrc/games/openrct2/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/openrct2/Makefile
diff -u pkgsrc/games/openrct2/Makefile:1.68 pkgsrc/games/openrct2/Makefile:1.69
--- pkgsrc/games/openrct2/Makefile:1.68 Sat Dec 14 20:47:52 2024
+++ pkgsrc/games/openrct2/Makefile      Mon Dec 23 23:22:04 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2024/12/14 20:47:52 triaxx Exp $
+# $NetBSD: Makefile,v 1.69 2024/12/23 23:22:04 mef Exp $
 
 PKGNAME=       openrct2-0.4.17
 CATEGORIES=    games
@@ -50,6 +50,16 @@ WRKSRC=              ${WRKDIR}/OpenRCT2-${PKGVERSION
 USE_TOOLS+=    gmake pkg-config unzip
 USE_LANGUAGES= c c++
 
+#    upstream
+#    https://github.com/OpenRCT2/OpenRCT2/wiki/Building-OpenRCT2-on-Linux
+#    Says GCC>=12. or clang >=8.0. (C++20 support required)
+GCC_REQD+=     12
+#    But this line should be removed after 2024 Q4 branch
+#    And below is the right thing (if gcc.mk works correctly)
+USE_CXX_FEATURES+=     c++20
+#    See the thread:
+#    https://mail-index.netbsd.org/pkgsrc-users/2024/12/20/msg040707.html
+
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
 CMAKE_CONFIGURE_ARGS+= -DCMAKE_CXX_COMPILER_AR="/usr/bin/ar"
 CMAKE_CONFIGURE_ARGS+= -DDISABLE_DISCORD_RPC=ON
@@ -64,7 +74,6 @@ CMAKE_CONFIGURE_ARGS+=        -DDOWNLOAD_OPENMS
 
 CXXFLAGS+=     -DORCT2_RESOURCE_DIR=\"${PREFIX}/share/openrct2\"
 
-USE_CXX_FEATURES=      c++20
 
 CHECK_WRKREF_SKIP+=    share/*
 



Home | Main Index | Thread Index | Old Index