[MacPorts] #69076: git-annex @10.20230321: error: Warning: Couldn't figure out LLVM version!
MacPorts
noreply at macports.org
Sat Jan 27 15:28:14 UTC 2024
#69076: git-annex @10.20230321: error: Warning: Couldn't figure out LLVM version!
------------------------+--------------------
Reporter: Jaharmi | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: git-annex |
------------------------+--------------------
Comment (by dirkz):
With the following patch of the Makefile:
{{{
diff --git a/Makefile b/Makefile
index 06ebebdea3..26f60d1557 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ all=git-annex git-annex-shell mans docs
# set to "./Setup" if you lack a cabal program. Or can be set to "stack"
BUILDER?=cabal
ifeq ($(BUILDER),stack)
-GHC?=stack ghc --
+GHC?=stack ghc --system-ghc --
else
GHC?=ghc
endif
}}}
It's possible to install to $HOME:
`make install-home BUILDER=stack BUILDERCOMMONOPTIONS="--system-ghc"`
I have not tested the other install options.
--
Ticket URL: <https://trac.macports.org/ticket/69076#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list