summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-01 11:34:40 +0000
committerSam James <sam@gentoo.org>2022-01-01 11:34:50 +0000
commit085eca54013d0d4fc9cb89c2cbba7af6a21883a2 (patch)
tree8396111ad9f172e111e09997efa0ac5deea1cda8 /sci-geosciences
parentperl-core/CPAN: Stabilize 2.290.0-r1 arm64, #829572 (diff)
downloadgentoo-085eca54013d0d4fc9cb89c2cbba7af6a21883a2.tar.gz
gentoo-085eca54013d0d4fc9cb89c2cbba7af6a21883a2.tar.bz2
gentoo-085eca54013d0d4fc9cb89c2cbba7af6a21883a2.zip
sci-geosciences/gshhs: update EAPI 5 -> 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/gshhs/gshhs-1.13-r1.ebuild10
1 files changed, 5 insertions, 5 deletions
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