pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/finance/ledger ledger: fix python detecti...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8e896ec3654
branches:  trunk
changeset: 308290:f8e896ec3654
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 20 08:38:47 2018 +0000

description:
ledger: fix python detection after py-boost installs a versioned library

diffstat:

 finance/ledger/distinfo                     |   3 ++-
 finance/ledger/patches/patch-CMakeLists.txt |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 95b7c358af7d -r f8e896ec3654 finance/ledger/distinfo
--- a/finance/ledger/distinfo   Sun May 20 07:54:45 2018 +0000
+++ b/finance/ledger/distinfo   Sun May 20 08:38:47 2018 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.2 2018/03/14 13:59:52 wiz Exp $
+$NetBSD: distinfo,v 1.3 2018/05/20 08:38:47 wiz Exp $
 
 SHA1 (ledger-3.1.1.tar.gz) = 77ad24ce4947e2f130e58d8e8bc4c5b6920a0222
 RMD160 (ledger-3.1.1.tar.gz) = 07645c8d798e386eb4ed0a5a9e3dcf6fe0a184f8
 SHA512 (ledger-3.1.1.tar.gz) = 3f81b98a414cdfc0e272de4e958770149fb1acc8bda880d270e1459ce35294a220c52820bb9af49a751ac3a80b878f81fc7799ba41e0a1be43eba72081351bf5
 Size (ledger-3.1.1.tar.gz) = 842364 bytes
+SHA1 (patch-CMakeLists.txt) = 14160d9d0fad56665fe7c6ffd5fec89541d62fb2
 SHA1 (patch-src_item.h) = 994e1e87fdf7510bcac364fb554d2ec012ba84d3
 SHA1 (patch-src_system.hh.in) = c9f5830aaf77681d93eedb78d06fa91f47a7b478
diff -r 95b7c358af7d -r f8e896ec3654 finance/ledger/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/finance/ledger/patches/patch-CMakeLists.txt       Sun May 20 08:38:47 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2018/05/20 08:38:47 wiz Exp $
+
+pkgsrc library is versioned, adapt check.
+
+--- CMakeLists.txt.orig        2016-01-11 15:59:38.000000000 +0000
++++ CMakeLists.txt
+@@ -68,7 +68,7 @@ if (USE_PYTHON)
+ 
+   find_package(PythonLibs)
+   if (PYTHONLIBS_FOUND)
+-    set(BOOST_PYTHON python)
++    set(BOOST_PYTHON python27)
+     set(HAVE_BOOST_PYTHON 1)
+     include_directories(SYSTEM ${PYTHON_INCLUDE_DIRS})
+   else()



Home | Main Index | Thread Index | Old Index