From 085eca54013d0d4fc9cb89c2cbba7af6a21883a2 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 1 Jan 2022 11:34:40 +0000 Subject: sci-geosciences/gshhs: update EAPI 5 -> 8 Signed-off-by: Sam James --- sci-geosciences/gshhs/gshhs-1.13-r1.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sci-geosciences') diff --git a/sci-geosciences/gshhs/gshhs-1.13-r1.ebuild b/sci-geosciences/gshhs/gshhs-1.13-r1.ebuild index 47bde3fbcf97..14c8c92d67cb 100644 --- a/sci-geosciences/gshhs/gshhs-1.13-r1.ebuild +++ b/sci-geosciences/gshhs/gshhs-1.13-r1.ebuild @@ -1,13 +1,14 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=8 inherit toolchain-funcs DESCRIPTION="Global Self-consistent, Hierarchical, High-resolution Shoreline programs" HOMEPAGE="https://www.ngdc.noaa.gov/mgg/shorelines/gshhs.html" SRC_URI="ftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.13_src.zip" +S="${WORKDIR}/${PN}" LICENSE="GPL-2" SLOT="0" @@ -21,12 +22,11 @@ DEPEND="${RDEPEND}" BDEPEND="app-arch/unzip virtual/pkgconfig" -S="${WORKDIR}/${PN}" - src_compile() { local p for p in gshhs gshhs_dp gshhstograss; do - $(tc-getCC) ${CFLAGS} $($(tc-getPKG_CONFIG) --cflags netcdf) \ + $(tc-getCC) ${CFLAGS} ${CPPFLAGS} \ + $($(tc-getPKG_CONFIG) --cflags netcdf) \ ${LDFLAGS} ${p}.c \ $($(tc-getPKG_CONFIG) --libs netcdf) -lgdal -lm -o ${p} \ || die -- cgit v1.2.3-65-gdbad