diff --git a/finance/ledger/Makefile b/finance/ledger/Makefile index 847102f92dfe..999091db2bb7 100644 --- a/finance/ledger/Makefile +++ b/finance/ledger/Makefile @@ -1,38 +1,39 @@ PORTNAME= ledger -PORTVERSION= 3.3.2 DISTVERSIONPREFIX= v +DISTVERSION= 3.3.2 +PORTREVISION= 1 CATEGORIES= finance MAINTAINER= woodycarey@hotmail.com COMMENT= John Wiegley's command line accounting program WWW= https://ledger-cli.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.md BUILD_DEPENDS= utf8cpp>=0:devel/utf8cpp -LIB_DEPENDS= libgmp.so:math/gmp \ - libmpfr.so:math/mpfr \ - libboost_system.so:devel/boost-libs +LIB_DEPENDS= libboost_system.so:devel/boost-libs \ + libgmp.so:math/gmp \ + libmpfr.so:math/mpfr USES= cmake compiler:c++11-lib cpe libedit CPE_VENDOR= ${PORTNAME}-cli USE_GITHUB= yes USE_LDCONFIG= yes OPTIONS_DEFINE= GNUPG PYTHON OPTIONS_SUB= yes -GNUPG_LIB_DEPENDS= libgpgmepp.so:security/gpgme-cpp \ - libgpgme.so:security/gpgme +GNUPG_LIB_DEPENDS= libgpgme.so:security/gpgme \ + libgpgmepp.so:security/gpgme-cpp GNUPG_CMAKE_BOOL= USE_GPGME PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-libs>0:devel/boost-python-libs@${PY_FLAVOR} PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}boost-libs>0:devel/boost-python-libs@${PY_FLAVOR} -PYTHON_CMAKE_BOOL= USE_PYTHON PYTHON_USES= python +PYTHON_CMAKE_BOOL= USE_PYTHON do-test: @cd ${TEST_WRKSRC} && ctest -C ${CMAKE_BUILD_TYPE} ${_MAKE_JOBS} .include diff --git a/finance/ledger/files/patch-system.hh.in b/finance/ledger/files/patch-system.hh.in index 00d27252f9e6..99680c9f96dc 100644 --- a/finance/ledger/files/patch-system.hh.in +++ b/finance/ledger/files/patch-system.hh.in @@ -1,11 +1,19 @@ diff -ruN ledger-3.2.1/src/system.hh.in ledger-3.2.1-patched/src/system.hh.in --- src/system.hh.in.orig 2020-05-18 00:30:10.000000000 -0500 -+++ src/system.hh.in 2022-05-29 08:49:10.857528000 -0500 -@@ -153,6 +153,7 @@ ++++ src/system.hh.in 2024-10-07 01:57:27.327578000 -0400 +@@ -144,7 +144,6 @@ + #include + #include + +-#include + #include + #include + #include +@@ -156,6 +155,7 @@ #include #include +#include #include #include