wesnoth: for boost-1.89

This commit is contained in:
Đoàn Trần Công Danh 2025-08-30 16:16:37 +07:00
parent 456b55413f
commit b07f5c76a3
2 changed files with 50 additions and 1 deletions

View file

@ -0,0 +1,49 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -93,7 +93,7 @@ if(APPLE)
find_library(SECURITY_LIBRARY Security REQUIRED)
endif()
-find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS iostreams program_options regex system thread random coroutine locale filesystem graph)
+find_package(Boost ${BOOST_VERSION} REQUIRED COMPONENTS iostreams program_options thread random coroutine locale filesystem graph)
find_package(ICU REQUIRED COMPONENTS data i18n uc)
# no, gettext executables are not required when NLS is deactivated
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -240,8 +240,6 @@ if(ENABLE_GAME)
OpenSSL::SSL
Boost::iostreams
Boost::program_options
- Boost::regex
- Boost::system
Boost::random
Boost::coroutine
Boost::locale
@@ -287,8 +285,6 @@ if(ENABLE_TESTS)
OpenSSL::SSL
Boost::iostreams
Boost::program_options
- Boost::regex
- Boost::system
Boost::random
Boost::coroutine
Boost::locale
@@ -336,8 +332,6 @@ if(ENABLE_SERVER)
OpenSSL::SSL
Boost::iostreams
Boost::program_options
- Boost::regex
- Boost::system
Boost::random
Boost::coroutine
Boost::locale
@@ -377,8 +371,6 @@ if(ENABLE_CAMPAIGN_SERVER)
OpenSSL::SSL
Boost::iostreams
Boost::program_options
- Boost::regex
- Boost::system
Boost::random
Boost::coroutine
Boost::locale

View file

@ -1,7 +1,7 @@
# Template file for 'wesnoth'
pkgname=wesnoth
version=1.18.5
revision=2
revision=3
build_style=cmake
configure_args="-DENABLE_OMP=1"
hostmakedepends="pkg-config gettext"