commit:     085eca54013d0d4fc9cb89c2cbba7af6a21883a2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 11:34:40 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 11:34:50 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=085eca54

sci-geosciences/gshhs: update EAPI 5 -> 8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-geosciences/gshhs/gshhs-1.13-r1.ebuild | 10 +++++-----
 1 file 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

Reply via email to