[MacPorts] #69274: lnav fails to install: error: invalid command-line arguments, reason: -i excludes -t

MacPorts noreply at macports.org
Wed Feb 14 21:54:44 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 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).
 }}}

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


More information about the macports-tickets mailing list