<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/db40457f451cabab1bd825c8bf745805bd8f2afb">https://github.com/macports/macports-ports/commit/db40457f451cabab1bd825c8bf745805bd8f2afb</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new db40457f451 netcdf-fortran: limit nf-config --fflags|--flibs to merely necessary
</span>db40457f451 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit db40457f451cabab1bd825c8bf745805bd8f2afb
</span>Author: Remko Scharroo <remko.scharroo@eumetsat.int>
AuthorDate: Tue Sep 19 18:49:29 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> netcdf-fortran: limit nf-config --fflags|--flibs to merely necessary
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> update
</span>---
science/netcdf-fortran/Portfile | 6 ++-
.../netcdf-fortran/files/patch-Makefile.in.diff | 11 ------
science/netcdf-fortran/files/patch-nf-config.diff | 43 ++++++++++++++++++++++
3 files changed, 47 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/netcdf-fortran/Portfile b/science/netcdf-fortran/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 516a60c530e..17139f1737d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/netcdf-fortran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/netcdf-fortran/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span> PortGroup muniversal 1.0
PortGroup mpi 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Still using configure/make system because CMakeLists.txt does not install nf-config.
# netcdf-fortran does not require the fortran interface of hdf5.
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,7 +21,7 @@ PortGroup github 1.0
</span> mpi.enforce_variant netcdf
github.setup Unidata netcdf-fortran 4.6.1 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> maintainers {takeshi @tenomoto} openmaintainer
categories science
license Permissive
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,7 +41,8 @@ checksums rmd160 12bf9c7ba84f60f77e7d77e069e9365bfd3c4659 \
</span> sha256 921be559e162d90370faecba7d60fa12dc4534600807a519520c277de5e7691c \
size 2046635
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-nf03_test4-Makefile.in.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-nf03_test4-Makefile.in.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-nf-config.diff
</span>
compilers.choose f77 f90 fc
mpi.setup require_fortran
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/netcdf-fortran/files/patch-Makefile.in.diff b/science/netcdf-fortran/files/patch-Makefile.in.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index cc64870479e..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/netcdf-fortran/files/patch-Makefile.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.in.orig 2016-01-21 07:49:54.000000000 +0900
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile.in 2016-03-27 17:53:13.000000000 +0900
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -831,7 +831,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- uninstall: uninstall-recursive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install-am: all-am
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ @$(MAKE) $(AM_MAKEFLAGS) install-data-am
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- installcheck: installcheck-recursive
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- install-strip:
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/netcdf-fortran/files/patch-nf-config.diff b/science/netcdf-fortran/files/patch-nf-config.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..dff0bdabb6b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/netcdf-fortran/files/patch-nf-config.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,43 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# These two patches are to reduce the --fflags and --flibs output of nf-config to only what is necessary
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- nf-config.in.orig 2023-05-19 22:19:16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ nf-config.in 2023-09-19 18:40:48
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11,14 +11,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cc="@CC@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fc="@FC@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cflags="-I${includedir} @CPPFLAGS@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fflags="-I${includedir} @MOD_FLAG@${fmoddir}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++cflags="-I${includedir}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++fflags="-I${includedir}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_dap="@HAS_DAP@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_nc2="@HAS_NC2@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_nc4="@HAS_NC4@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_f90="@HAS_F90@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_f03="@HAS_F03@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-flibs="-L${libdir} @NC_FLIBS@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++flibs="-L${libdir} -lnetcdf"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version="@PACKAGE_NAME@ @PACKAGE_VERSION@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usage()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- nf-config.cmake.in.orig 2023-05-19 22:19:16
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ nf-config.cmake.in 2023-09-19 18:40:21
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -12,15 +12,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cc="@CMAKE_C_COMPILER@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fc="@CMAKE_Fortran_COMPILER@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-cflags="-I@CMAKE_INSTALL_PREFIX@/include @CMAKE_C_FLAGS@ @CMAKE_CPP_FLAGS@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-fflags="-I${includedir} @MOD_FLAG@${fmoddir}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++cflags="-I${includedir}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++fflags="-I${includedir}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_dap="@HAS_DAP@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_nc2="@HAS_NC2@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_nc4="@HAS_NC4@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_f90="@HAS_F90@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ has_f03="@HAS_F03@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-flibs="-L${libdir} @NC_FLIBS@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++flibs="-L${libdir} -lnetcdff"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version="@PACKAGE_NAME@ @PACKAGE_VERSION@"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ usage()
</span></pre><pre style='margin:0'>
</pre>