summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2019-07-22 19:55:17 +0200
committer Matteo Bernardini2019-08-18 07:56:37 +0200
commit41d3f44f4fd19b06531d55c059d7941a179bad81 (patch)
tree0084b71df4508ab67195e5615098abc99f9cd364
parentd04189e642ca17186cb9b2b5899fa9c12aceb782 (diff)
downloadslackbuilds-gnucash.tar.gz
office/gnucash: Fix for the newer cmake.gnucash
Also fix build against the newer boost (thanks willysr!) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--office/gnucash/gnucash.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index 6b47c27cd7..71a6975b7b 100644
--- a/office/gnucash/gnucash.SlackBuild
+++ b/office/gnucash/gnucash.SlackBuild
@@ -116,6 +116,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i '1iinclude(CheckSymbolExists)' gnucash/register/register-gnome/CMakeLists.txt
+
mkdir -p build
cd build
cmake \
@@ -133,6 +135,7 @@ cd build
$W_PYTHON \
$OFXBANKING \
$AQBANKING \
+ -DBoost_NO_BOOST_CMAKE=ON \
-DCMAKE_BUILD_TYPE=release ..
make