[MacPorts] #71917: git fails to honor MacPorts cppflags: error: implicit declaration of function 'getline'
MacPorts
noreply at macports.org
Thu Jan 23 02:36:11 UTC 2025
#71917: git fails to honor MacPorts cppflags: error: implicit declaration of
function 'getline'
-----------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: git, git-devel |
-----------------------------+--------------------
Comment (by barracuda156):
I think the correct code would be this:
{{{
set CFLAGS "${configure.cppflags} ${configure.cflags} -std=gnu99
[get_canonical_archflags cc]"
}}}
Since apparently `legacy-support` passes its flag as a cppflag, not cflag.
--
Ticket URL: <https://trac.macports.org/ticket/71917#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list