pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/wesnoth



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Jul  9 22:31:19 UTC 2023

Modified Files:
        pkgsrc/games/wesnoth: Makefile

Log Message:
wesnoth: require at least GCC 7 for std::string_view.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 pkgsrc/games/wesnoth/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/wesnoth/Makefile
diff -u pkgsrc/games/wesnoth/Makefile:1.198 pkgsrc/games/wesnoth/Makefile:1.199
--- pkgsrc/games/wesnoth/Makefile:1.198 Tue Jun  6 12:41:30 2023
+++ pkgsrc/games/wesnoth/Makefile       Sun Jul  9 22:31:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.198 2023/06/06 12:41:30 riastradh Exp $
+# $NetBSD: Makefile,v 1.199 2023/07/09 22:31:19 nia Exp $
 
 DISTNAME=      wesnoth-1.16.9
 PKGREVISION=   1
@@ -14,6 +14,7 @@ LICENSE=      gnu-gpl-v2
 TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
 
 USE_CMAKE=             yes
+# XXX check this, uses c++17 features
 USE_LANGUAGES=         c c++11
 USE_LIBTOOL=           yes
 USE_TOOLS+=            bash msgfmt perl:run pkg-config
@@ -22,6 +23,9 @@ CMAKE_ARGS+=          -DENABLE_HISTORY=OFF
 # if OPT is set, -O3 will not be added
 CMAKE_ARGS+=           -DOPT="${DBG}"
 
+# std::string_view
+GCC_REQD+=             7
+
 CFLAGS.Darwin=         -framework Cocoa
 
 UNLIMIT_RESOURCES+=    datasize



Home | Main Index | Thread Index | Old Index