parlay

yet another gentoo overlay
git clone https://git.parazyd.org/parlay
Log | Files | Refs | README

commit fbd66e3239d29dc7780efeaadde67371c85da44b
parent 7df09775c9d421be179e60ffa0601d7da3b99968
Author: parazyd <parazyd@dyne.org>
Date:   Thu,  1 Apr 2021 00:12:16 +0200

net-p2p/libbitcoin-system: Relax libsecp256k1 dependency.

Diffstat:
Anet-p2p/libbitcoin-system/files/libsecp256k1-relax.patch | 21+++++++++++++++++++++
Mnet-p2p/libbitcoin-system/libbitcoin-system-9999.ebuild | 2++
2 files changed, 23 insertions(+), 0 deletions(-)

diff --git a/net-p2p/libbitcoin-system/files/libsecp256k1-relax.patch b/net-p2p/libbitcoin-system/files/libsecp256k1-relax.patch @@ -0,0 +1,21 @@ +diff --git a/configure.ac b/configure.ac +index fc6bb1e6..58895317 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -292,11 +292,11 @@ AC_MSG_NOTICE([dl_LIBS : ${dl_LIBS}]) + + # Require secp256k1 of at least version 0.1.0.19 and output ${secp256k1_CPPFLAGS/LIBS/PKG}. + #------------------------------------------------------------------------------ +-PKG_CHECK_MODULES([secp256k1], [libsecp256k1 >= 0.1.0.19], +- [secp256k1_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libsecp256k1 >= 0.1.0.19" 2>/dev/null`" +- secp256k1_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libsecp256k1 >= 0.1.0.19" 2>/dev/null`"], +- [AC_MSG_ERROR([libsecp256k1 >= 0.1.0.19 is required but was not found.])]) +-AC_SUBST([secp256k1_PKG], ['libsecp256k1 >= 0.1.0.19']) ++PKG_CHECK_MODULES([secp256k1], [libsecp256k1 >= 0.1], ++ [secp256k1_INCLUDEDIR="`$PKG_CONFIG --variable=includedir "libsecp256k1 >= 0.1" 2>/dev/null`" ++ secp256k1_OTHER_CFLAGS="`$PKG_CONFIG --cflags-only-other "libsecp256k1 >= 0.1" 2>/dev/null`"], ++ [AC_MSG_ERROR([libsecp256k1 >= 0.1 is required but was not found.])]) ++AC_SUBST([secp256k1_PKG], ['libsecp256k1 >= 0.1']) + AC_SUBST([secp256k1_CPPFLAGS], [${secp256k1_CFLAGS}]) + AS_IF([test x${secp256k1_INCLUDEDIR} != "x"], + [AC_SUBST([secp256k1_ISYS_CPPFLAGS], ["-isystem${secp256k1_INCLUDEDIR} ${secp256k1_OTHER_CFLAGS}"])], diff --git a/net-p2p/libbitcoin-system/libbitcoin-system-9999.ebuild b/net-p2p/libbitcoin-system/libbitcoin-system-9999.ebuild @@ -28,6 +28,8 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/libsecp256k1-relax.patch" ) + src_prepare() { eautoreconf default