mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-office/ledger: Fix build with >=boost-1.70
Closes: https://bugs.gentoo.org/654326 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -62,10 +62,13 @@ pkg_setup() {
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
sed -r -i \
|
||||
-e '/set.BOOST_PYTHON/s/python27/python-2.7/g' \
|
||||
"${S}/CMakeLists.txt" \
|
||||
|| die "Failed to update CMakeLists.txt for python2.7 boost"
|
||||
|
||||
if ! has_version ">=dev-libs/boost-1.70"; then
|
||||
sed -r -i \
|
||||
-e '/set.BOOST_PYTHON/s/python27/python-2.7/g' \
|
||||
"${S}/CMakeLists.txt" \
|
||||
|| die "Failed to update CMakeLists.txt for python2.7 boost"
|
||||
fi
|
||||
|
||||
# Want to type "info ledger" not "info ledger3"
|
||||
sed -i -e 's/ledger3/ledger/g' \
|
||||
|
||||
Reference in New Issue
Block a user