[MacPorts] #72035: sqlite3 @3.49.0_2: build fails when ccache is installed but MacPorts is not set to use it

MacPorts noreply at macports.org
Thu Feb 13 15:17:19 UTC 2025


#72035: sqlite3 @3.49.0_2: build fails when ccache is installed but MacPorts is not
set to use it
-----------------------+-------------------------
  Reporter:  cgimenez  |      Owner:  Schamschula
      Type:  defect    |     Status:  reopened
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  sqlite3   |
-----------------------+-------------------------

Comment (by jmroot):

 This worked for me:
 {{{#!patch
 diff --git a/databases/sqlite3/Portfile b/databases/sqlite3/Portfile
 index 5a6871d7bde..4846b0197d8 100644
 --- a/databases/sqlite3/Portfile
 +++ b/databases/sqlite3/Portfile
 @@ -47,6 +47,9 @@ if {${os.platform} eq "darwin" && ${os.major} < 11 &&
 ${cxx_stdlib} eq "libc++"}
  #     patchfiles      patch-sqlite3-tools_fix-atomic-clang-4.diff
  # }

 +if {!${configure.ccache}} {
 +    configure.env    CCACHE=none
 +}
  configure.args      --enable-threadsafe \
                      --disable-readline \
                      --enable-editline \
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72035#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list