diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-02-07 10:22:26 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-02-07 11:14:34 +0000 |
commit | a28783c5c768c1dc17399c99e98075ebfba5315e (patch) | |
tree | 98602cae5f8667f21b3973fb60555af20e59c769 /dev-libs/mmtf-cpp | |
parent | www-client/falkon: drop 22.04.3-r1 (diff) | |
download | gentoo-a28783c5c768c1dc17399c99e98075ebfba5315e.tar.gz gentoo-a28783c5c768c1dc17399c99e98075ebfba5315e.tar.bz2 gentoo-a28783c5c768c1dc17399c99e98075ebfba5315e.zip |
dev-libs/mmtf-cpp: fix msgpack dependency
The upstream README states clearly "You need the headers of the
MessagePack C++ library", meaning we should depend either on
dev-libs/msgpack[cxx] or, for newer msgpack, on dev-cpp/msgpack-cxx.
Note that since msgpack upstream renamed the relevant CMake package from
"msgpack" to "msgpackc-cxx" in version 5.0.0, src_configure() can complain.
This is harmless though, as the presence or absence of msgpack C++
headers at build time does not affect runtime operation of mmtf-cpp.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'dev-libs/mmtf-cpp')
-rw-r--r-- | dev-libs/mmtf-cpp/mmtf-cpp-1.1.0-r1.ebuild (renamed from dev-libs/mmtf-cpp/mmtf-cpp-1.1.0.ebuild) | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0.ebuild b/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0-r1.ebuild index c31d0595eb2f..909f0a52da9a 100644 --- a/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0.ebuild +++ b/dev-libs/mmtf-cpp/mmtf-cpp-1.1.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2022 Gentoo Authors +# Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,8 +12,6 @@ SRC_URI="https://github.com/rcsb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" -IUSE="" -DEPEND="dev-libs/msgpack" +DEPEND="|| ( dev-cpp/msgpack-cxx dev-libs/msgpack[cxx(-)] )" RDEPEND="${DEPEND}" -BDEPEND="" |