Diff unuran-1.8.1 with a unuran-1.9.0
/usr/portage/sci-mathematics/unuran/unuran-1.9.0.ebuild 2023-10-09 14:52:35.124368492 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit out-of-source |
|
6 |
inherit autotools out-of-source |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Universal Non-Uniform Random number generator" |
9 | 9 |
HOMEPAGE="https://statmath.wu.ac.at/unuran/" |
... | ... | |
20 | 20 |
rngstreams? ( sci-mathematics/rngstreams:= )" |
21 | 21 |
RDEPEND="${DEPEND}" |
22 | 22 | |
23 |
PATCHES=( |
|
24 |
"${FILESDIR}"/${PN}-1.9.0-configure-clang16.patch |
|
25 |
) |
|
26 | ||
27 |
src_prepare() { |
|
28 |
default |
|
29 | ||
30 |
# Clang 16 |
|
31 |
eautoreconf |
|
32 |
} |
|
33 | ||
23 | 34 |
my_src_configure() { |
24 | 35 |
local udefault=builtin |
25 | 36 |
use rngstreams && udefault=rngstream |
26 |
econf \ |
|
37 | ||
38 |
CONFIG_SHELL="${BROOT}"/bin/bash econf \ |
|
27 | 39 |
--enable-shared \ |
28 | 40 |
--disable-static \ |
29 | 41 |
--with-urng-default="${udefault}" \ |