Diff wcslib-7.3.1 with a wcslib-7.11

/usr/portage/sci-astronomy/wcslib/wcslib-7.11.ebuild 2023-10-09 14:52:34.992368489 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
FORTRAN_NEEDED=fortran
7 7

  
8
inherit fortran-2 flag-o-matic
8
inherit flag-o-matic fortran-2
9 9

  
10 10
DESCRIPTION="Astronomical World Coordinate System transformations library"
11 11
HOMEPAGE="https://www.atnf.csiro.au/people/mcalabre/WCS/"
......
13 13

  
14 14
SLOT="0/7"
15 15
LICENSE="LGPL-3"
16
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
16
KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
17 17
IUSE="doc fortran fits pgplot static-libs +tools"
18 18

  
19 19
RDEPEND="
20 20
	fits? ( sci-libs/cfitsio:0= )
21 21
	pgplot? ( sci-libs/pgplot:0= )"
22
DEPEND="${RDEPEND}
23
	sys-devel/flex
22
DEPEND="${RDEPEND}"
23
BDEPEND="
24
	>=sys-devel/flex-2.6.0
24 25
	virtual/pkgconfig"
25 26

  
26 27
src_configure() {
27
	# GCC 10 workaround
28
	# bug #764548
28
	# workaround until upstream fix it properly
29 29
	append-fflags $(test-flags-FC -fallow-argument-mismatch)
30 30

  
31 31
	local myconf=(
......
34 34
		$(use_enable fortran)
35 35
		$(use_enable tools utils)
36 36
	)
37

  
38 37
	# hacks because cfitsio and pgplot directories are hard-coded
39 38
	if use fits; then
40 39
		myconf+=(
......
52 51
	else
53 52
		myconf+=( --without-pgplot )
54 53
	fi
55
	econf ${myconf[@]}
54
	econf "${myconf[@]}"
56 55
	sed -i -e 's/COPYING\*//' GNUmakefile || die
57 56
}
58 57

  
59
src_test() {
60
	emake check
61
}
62

  
63 58
src_install () {
64 59
	default
65 60
	# static libs share the same symbols as shared (i.e. compiled with PIC)
Thank you!