Diff libmowgli-2.1.3-r2 with a libmowgli-9999

/usr/portage/dev-libs/libmowgli/libmowgli-9999.ebuild 2021-05-02 19:09:00.000000000 +0300
1 1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=6
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 ~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
	!~dev-libs/libmowgli-2.1.0" # Bug 629644
20
	)"
21 21
DEPEND="${RDEPEND}"
22 22

  
23 23
DOCS=( AUTHORS README doc/BOOST doc/design-concepts.txt )
24
PATCHES=(
25
	"${FILESDIR}"/${P}-cacheline-Ensure-sysconf-var-is-defined-before-use.patch
26
	"${FILESDIR}"/${P}-use-host-tools-for-ar-and-ranlib.patch
27
)
28

  
29
S="${WORKDIR}/${PN}-2-${PV}"
30

  
31
src_prepare() {
32
	default
33

  
34
	# $(MAKE) invocation will handle passing down flags.
35
	sed -i -e 's/${MFLAGS}//' buildsys.mk.in || die
36

  
37
	AT_M4DIR="m4" eautoreconf
38
}
39 24

  
40 25
src_configure() {
41
	econf $(use_with ssl openssl)
26
	econf \
27
		$(use_with ssl openssl)
42 28
}
Thank you!