ledger: for boost-1.89

This commit is contained in:
Đoàn Trần Công Danh 2025-08-30 16:16:32 +07:00
parent ffa8a627cb
commit 50c6985612
2 changed files with 22 additions and 3 deletions

View file

@ -0,0 +1,19 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -90,14 +90,11 @@ endif()
# Set BOOST_ROOT to help CMake to find the right Boost version
find_package(Boost 1.49.0
- REQUIRED date_time filesystem system iostreams regex unit_test_framework
+ REQUIRED filesystem iostreams unit_test_framework
${BOOST_PYTHON} OPTIONAL_COMPONENTS nowide)
# enable Boost::nowide library (for UTF8 command line args on Windows)
-set(HAVE_BOOST_NOWIDE 0)
-if (Boost_NOWIDE_FOUND)
- set(HAVE_BOOST_NOWIDE 1)
-endif()
+set(HAVE_BOOST_NOWIDE 1)
include_directories(SYSTEM ${Boost_INCLUDE_DIRS})
link_directories(${Boost_LIBRARY_DIRS})

View file

@ -1,10 +1,10 @@
# Template file for 'ledger'
pkgname=ledger
version=3.3.2
revision=2
revision=3
build_style=cmake
makedepends="boost-devel-minimal libboost_filesystem libboost_date_time
libboost_iostreams libboost_unit_test_framework libboost_nowide
makedepends="boost-devel-minimal libboost_filesystem libboost_iostreams
libboost_nowide libboost_unit_test_framework
gmp-devel mpfr-devel gettext-devel libedit-devel"
short_desc="Double-entry accounting system with a command-line reporting interface"
maintainer="Orphaned <orphan@voidlinux.org>"