<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/8a71f8360e27b1db28d9ad47ab2ad42be33b2004">https://github.com/macports/macports-ports/commit/8a71f8360e27b1db28d9ad47ab2ad42be33b2004</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 8a71f8360e2 madness: allow build when ccache installed but configure.ccache not set
</span>8a71f8360e2 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 8a71f8360e27b1db28d9ad47ab2ad42be33b2004
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Mon Apr 10 20:48:04 2023 +0800

<span style='display:block; white-space:pre;color:#404040;'>    madness: allow build when ccache installed but configure.ccache not set
</span>---
 science/madness/Portfile | 9 +++++++++
 1 file changed, 9 insertions(+)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/madness/Portfile b/science/madness/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ad69ea2445d..49adef3f884 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/madness/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/madness/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -108,6 +108,15 @@ platform darwin {
</span>     }
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Build auto-detects ccache if it is installed and attempts to write
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# to CCACHE_DIR, which is not allowed if configure.ccache=off.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Set CCACHE_DIR to the build directory instead.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![option configure.ccache]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    configure.env-append   CCACHE_DIR=${workpath}/.ccache
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.env-append       CCACHE_DIR=${workpath}/.ccache
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    destroot.env-append    CCACHE_DIR=${workpath}/.ccache
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant tests description "Build and run tests" {
     # Tests 54–65 are expected to fail presently, since they depend on libMADchem, which we disable; see above.
     configure.pre_args-replace \
</pre><pre style='margin:0'>

</pre>