<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/41a481f0df23669099226cdd56b97025b1a35659">https://github.com/macports/macports-ports/commit/41a481f0df23669099226cdd56b97025b1a35659</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 41a481f0df2 rocksdb: allow build when ccache installed but configure.ccache=off
</span>41a481f0df2 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 41a481f0df23669099226cdd56b97025b1a35659
</span>Author: Sergey Fedorov <vital.had@gmail.com>
AuthorDate: Sun May 14 04:51:54 2023 +0800

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

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/rocksdb/Portfile b/databases/rocksdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 372b2a3aae1..a09840425f8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/rocksdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/rocksdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -59,6 +59,15 @@ if {[string match *gcc* ${configure.compiler}]} {
</span>                     -Wno-narrowing
 }
 
<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 jemalloc description "Use jemalloc" {
     depends_lib-append \
                     port:jemalloc
</pre><pre style='margin:0'>

</pre>