Diff libquo-1.4.1 with a libquo-9999
| /usr/portage/sys-cluster/libquo/libquo-9999.ebuild 2024-12-25 15:56:49.706751954 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 1 |
# Copyright 1999-2022 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 6 | 6 |
FORTRAN_NEEDED=fortran |
| 7 | 7 |
FORTRAN_STANDARD=90 |
| 8 | 8 | |
| 9 |
inherit fortran-2 autotools flag-o-matic |
|
| 9 |
inherit fortran-2 |
|
| 10 | 10 | |
| 11 | 11 |
if [ "${PV}" = "9999" ]; then
|
| 12 | 12 |
EGIT_REPO_URI="https://github.com/lanl/${PN}.git"
|
| 13 |
inherit git-r3 |
|
| 13 |
inherit autotools git-r3 |
|
| 14 | 14 |
else |
| 15 | 15 |
SRC_URI="https://lanl.github.io/${PN}/dists/${P}.tar.gz"
|
| 16 | 16 |
KEYWORDS="~amd64" |
| ... | ... | |
| 22 | 22 |
LICENSE="BSD" |
| 23 | 23 |
SLOT="0" |
| 24 | 24 |
IUSE="fortran static-libs test" |
| 25 |
RESTRICT="test" # Bug #867823: Need a real network interface or hostname set to localhost |
|
| 25 |
RESTRICT="!test? ( test )" |
|
| 26 | 26 | |
| 27 | 27 |
DEPEND=" |
| 28 | 28 |
virtual/mpi[fortran?] |
| ... | ... | |
| 30 | 30 |
sys-apps/hwloc:=[numa(+),xml] |
| 31 | 31 |
" |
| 32 | 32 |
RDEPEND="${DEPEND}"
|
| 33 |
BDEPEND="sys-apps/which" |
|
| 34 | ||
| 35 |
PATCHES=( |
|
| 36 |
"${FILESDIR}"/${PN}-1.3.1-musl.patch
|
|
| 37 |
"${FILESDIR}"/${PN}-1.4-unbundle-hwloc.patch
|
|
| 38 |
) |
|
| 39 | 33 | |
| 40 | 34 |
src_prepare() {
|
| 41 | 35 |
default |
| 42 |
rm -rf src/hwloc || die |
|
| 43 |
eautoreconf |
|
| 36 |
[[ ${PV} = 9999 ]] && eautoreconf
|
|
| 44 | 37 |
} |
| 45 | 38 | |
| 46 | 39 |
src_configure() {
|
| 47 |
append-fflags "-I${ESYSROOT}/usr/include"
|
|
| 48 | 40 |
econf CC=mpicc FC=$(usex fortran mpif90 false) |
| 49 | 41 |
} |
| 50 | ||
| 51 |
src_install() {
|
|
| 52 |
default |
|
| 53 |
find "${ED}" -type f -name '*.la' -delete || die
|
|
| 54 |
} |
|