Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gshhs/
Date: Sat, 01 Jan 2022 11:35:02
Message-Id: 1641036890.085eca54013d0d4fc9cb89c2cbba7af6a21883a2.sam@gentoo
1 commit: 085eca54013d0d4fc9cb89c2cbba7af6a21883a2
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 1 11:34:40 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 1 11:34:50 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=085eca54
7
8 sci-geosciences/gshhs: update EAPI 5 -> 8
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sci-geosciences/gshhs/gshhs-1.13-r1.ebuild | 10 +++++-----
13 1 file changed, 5 insertions(+), 5 deletions(-)
14
15 diff --git a/sci-geosciences/gshhs/gshhs-1.13-r1.ebuild b/sci-geosciences/gshhs/gshhs-1.13-r1.ebuild
16 index 47bde3fbcf97..14c8c92d67cb 100644
17 --- a/sci-geosciences/gshhs/gshhs-1.13-r1.ebuild
18 +++ b/sci-geosciences/gshhs/gshhs-1.13-r1.ebuild
19 @@ -1,13 +1,14 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=8
26
27 inherit toolchain-funcs
28
29 DESCRIPTION="Global Self-consistent, Hierarchical, High-resolution Shoreline programs"
30 HOMEPAGE="https://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html"
31 SRC_URI="ftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.13_src.zip"
32 +S="${WORKDIR}/${PN}"
33
34 LICENSE="GPL-2"
35 SLOT="0"
36 @@ -21,12 +22,11 @@ DEPEND="${RDEPEND}"
37 BDEPEND="app-arch/unzip
38 virtual/pkgconfig"
39
40 -S="${WORKDIR}/${PN}"
41 -
42 src_compile() {
43 local p
44 for p in gshhs gshhs_dp gshhstograss; do
45 - $(tc-getCC) ${CFLAGS} $($(tc-getPKG_CONFIG) --cflags netcdf) \
46 + $(tc-getCC) ${CFLAGS} ${CPPFLAGS} \
47 + $($(tc-getPKG_CONFIG) --cflags netcdf) \
48 ${LDFLAGS} ${p}.c \
49 $($(tc-getPKG_CONFIG) --libs netcdf) -lgdal -lm -o ${p} \
50 || die