[MacPorts] #69274: lnav fails to install: error: invalid command-line arguments, reason: -i excludes -t
MacPorts
noreply at macports.org
Thu Feb 15 07:57:27 UTC 2024
#69274: lnav fails to install: error: invalid command-line arguments, reason: -i
excludes -t
---------------------------+-------------------------
Reporter: barracuda156 | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords:
Port: lnav |
---------------------------+-------------------------
Comment (by barracuda156):
Replying to [comment:3 ryandesign]:
> Replying to [comment:2 barracuda156]:
> > What is the way to do it correctly?
>
> I don't know this software but here is how it's implemented:
>
> https://github.com/tstack/lnav/blob/v0.11.2/m4/ax_prog_cc_for_build.m4
>
> It says:
>
> {{{
> # The macro sets the CC_FOR_BUILD and CPP_FOR_BUILD macros to anything
> # needed to compile or link (CC_FOR_BUILD) and preprocess
(CPP_FOR_BUILD).
> # The value of these variables can be overridden by the user by
specifying
> # a compiler with an environment variable (like you do for standard
CC).
> }}}
So apparently no reason not to use just `CC`. If it can be set to
anything, it can be set to the default compiler.
--
Ticket URL: <https://trac.macports.org/ticket/69274#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list