mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
Bug: https://bugs.gentoo.org/473598 Bug: https://bugs.gentoo.org/720224 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
42 lines
956 B
Bash
42 lines
956 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit autotools
|
|
|
|
DESCRIPTION="Useful set of performance and usability-oriented extensions to C"
|
|
HOMEPAGE="https://github.com/atheme/libmowgli-2"
|
|
SRC_URI="https://github.com/atheme/libmowgli-2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="BSD-2"
|
|
SLOT="2"
|
|
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 ~sparc x86"
|
|
IUSE="ssl"
|
|
|
|
RDEPEND="ssl? (
|
|
dev-libs/openssl:0=
|
|
)"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
DOCS=( AUTHORS README doc/BOOST doc/design-concepts.txt )
|
|
PATCHES=(
|
|
"${FILESDIR}"/${P}-cacheline-Ensure-sysconf-var-is-defined-before-use.patch
|
|
"${FILESDIR}"/${P}-use-host-tools-for-ar-and-ranlib.patch
|
|
)
|
|
|
|
S="${WORKDIR}/${PN}-2-${PV}"
|
|
|
|
src_prepare() {
|
|
default
|
|
|
|
# $(MAKE) invocation will handle passing down flags.
|
|
sed -i -e 's/${MFLAGS}//' buildsys.mk.in || die
|
|
|
|
AT_M4DIR="m4" eautoreconf
|
|
}
|
|
|
|
src_configure() {
|
|
econf $(use_with ssl openssl)
|
|
}
|