gentoo/dev-libs/concurrencykit/concurrencykit-0.7.2-r1.ebuild
Conrad Kostecki 49bb0a6d77
dev-libs/concurrencykit: add patch for strict-aliasing
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2025-01-11 02:39:23 +01:00

35 lines
778 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
MY_PN="ck"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A library with concurrency related algorithms and data structures in C"
HOMEPAGE="http://concurrencykit.org"
SRC_URI="https://github.com/${PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0 BSD-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
# The 'libck.so' has a name collision.
# See bug #616762 for more information.
RDEPEND="!sys-cluster/charm"
PATCHES=( "${FILESDIR}/${PN}-0.7.2-strict-aliasing.patch" )
src_configure() {
tc-export AR CC LD
local myeconfargs=(
"--disable-static"
)
GZIP="" econf ${myeconfargs[@]}
}