<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/3742d23169af3e01f017cc0fc8bea18ca405ab5b">https://github.com/macports/macports-ports/commit/3742d23169af3e01f017cc0fc8bea18ca405ab5b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3742d23169af3e01f017cc0fc8bea18ca405ab5b
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Sat May 27 14:29:47 2023 -0400
<span style='display:block; white-space:pre;color:#404040;'> libxc{5,6}: add conflicts_build against libxc
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://github.com/macports/macports-ports/pull/14889#issuecomment-1564682135
</span>---
science/libxc5/Portfile | 5 +++++
science/libxc6/Portfile | 5 +++++
2 files changed, 10 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/libxc5/Portfile b/science/libxc5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8d72eb75625..1a649d9ccf6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/libxc5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/libxc5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span> PortGroup cmake 1.1
PortGroup compiler_blacklist_versions 1.0
PortGroup compilers 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup conflicts_build 1.0
</span> PortGroup muniversal 1.0
name libxc5
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +30,10 @@ checksums rmd160 6293113e068e9af1409dc3fd7ed82fd5e33b1869 \
</span>
patchfiles patch-cmake-macports.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Avoid linking to 'libxc', if installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libxc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.c_standard 1999
# gcc-4.2 builds libxc5, but doesnʼt support -march=native and Fortran
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/libxc6/Portfile b/science/libxc6/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 77b9c184307..05c38d6ff29 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/libxc6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/libxc6/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span> PortGroup cmake 1.1
PortGroup compiler_blacklist_versions 1.0
PortGroup compilers 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup conflicts_build 1.0
</span> PortGroup muniversal 1.0
name libxc6
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +30,10 @@ checksums rmd160 95d163f0652fa4dc0677145060e7129db41aed70 \
</span>
patchfiles patch-cmake-macports.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Avoid linking to 'libxc', if installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ libxc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.c_standard 1999
# gcc-4.2 builds libxc5, but doesnʼt support -march=native and Fortran
</pre><pre style='margin:0'>
</pre>