<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3d56ea358812d9808cd3d4d85d7743deb8f19e59">https://github.com/macports/macports-ports/commit/3d56ea358812d9808cd3d4d85d7743deb8f19e59</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 3d56ea35881 ncplot: Fix some build flags
</span>3d56ea35881 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 3d56ea358812d9808cd3d4d85d7743deb8f19e59
</span>Author: Frank Schima <mf2k@macports.org>
AuthorDate: Sat Jan 29 08:54:11 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> ncplot: Fix some build flags
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/64559
</span>---
science/ncplot/files/patch-Makefile.diff | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ncplot/files/patch-Makefile.diff b/science/ncplot/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 8126abb3ace..2a6d8876022 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ncplot/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ncplot/files/patch-Makefile.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,5 +1,5 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.orig 2022-01-28 11:08:09.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile 2022-01-28 11:09:08.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2021-05-30 09:38:27.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2022-01-29 08:48:02.000000000 -0700
</span> @@ -14,12 +14,12 @@
# yum install flex-devel netcdf-devel motif-devel gsl-devel \
# xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-ISO8859-1-100dpi
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,7 +19,7 @@
</span>
# Linux Ubuntu
#
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -42,12 +42,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -42,14 +42,14 @@
</span> # brew install gmt ; for geo-politcal maps.
# brew install whatever else
#
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,11 +30,14 @@
</span> -#LIBS = -lXm -lXt -lX11 -lnetcdf -ll -lgsl -lpng -lpthread
-#BIN = /usr/local/bin
+DEFINES = -DPNG
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+INCLUDES= -I/opt/X11/include
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+LIB_DIRS= -L/opt/X11/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++INCLUDES= -I@@PREFIX@@/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LIB_DIRS= -L@@PREFIX@@/lib
</span> +NCH_DEP = @@PREFIX@@/include/netcdf.h
+LIBS = -lXm -lXt -lX11 -lnetcdf -ll -lgsl -lpng -lpthread
+BIN = @@PREFIX@@/bin
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS = -Wall -g -O2 ${INCLUDES} ${DEFINES} -Wno-write-strings -Wno-overflow
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS = -Wall -g -O2 ${INCLUDES} ${DEFINES} -Wno-write-strings -Wno-overflow
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS = -Wall -g -Os ${INCLUDES} ${DEFINES} -Wno-write-strings -Wno-overflow
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ PROG = ncplot
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ HDRS = define.h extern.h
</span></pre><pre style='margin:0'>
</pre>