Diff libmowgli-2.1.3-r3 with a libmowgli-9999
/usr/portage/dev-libs/libmowgli/libmowgli-9999.ebuild 2023-10-09 14:52:29.524368351 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit autotools |
|
6 |
inherit git-r3 |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Useful set of performance and usability-oriented extensions to C" |
9 | 9 |
HOMEPAGE="https://github.com/atheme/libmowgli-2" |
10 |
SRC_URI="https://github.com/atheme/libmowgli-2/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
10 |
EGIT_REPO_URI="https://github.com/atheme/libmowgli-2.git" |
|
11 | 11 | |
12 | 12 |
LICENSE="BSD-2" |
13 | 13 |
SLOT="2" |
14 |
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
|
14 |
KEYWORDS="" |
|
15 | 15 |
IUSE="ssl" |
16 | 16 | |
17 |
RDEPEND="ssl? ( |
|
17 |
RDEPEND=" |
|
18 |
ssl? ( |
|
18 | 19 |
dev-libs/openssl:0= |
19 | 20 |
)" |
20 | 21 |
DEPEND="${RDEPEND}" |
21 | 22 | |
22 | 23 |
DOCS=( AUTHORS README doc/BOOST doc/design-concepts.txt ) |
23 |
PATCHES=( |
|
24 |
"${FILESDIR}"/${P}-cacheline-Ensure-sysconf-var-is-defined-before-use.patch |
|
25 |
"${FILESDIR}"/${P}-use-host-tools-for-ar-and-ranlib.patch |
|
26 |
) |
|
27 | ||
28 |
S="${WORKDIR}/${PN}-2-${PV}" |
|
29 | ||
30 |
src_prepare() { |
|
31 |
default |
|
32 | ||
33 |
# $(MAKE) invocation will handle passing down flags. |
|
34 |
sed -i -e 's/${MFLAGS}//' buildsys.mk.in || die |
|
35 | ||
36 |
AT_M4DIR="m4" eautoreconf |
|
37 |
} |
|
38 | 24 | |
39 | 25 |
src_configure() { |
40 |
econf $(use_with ssl openssl) |
|
26 |
econf \ |
|
27 |
$(use_with ssl openssl) |
|
41 | 28 |
} |