[MacPorts] #65944: gawk fails to update to 5.2.0 as ppc+ppc64 on 10.5.8: ld: unknown option: -no_pie
MacPorts
noreply at macports.org
Fri Oct 7 12:19:37 UTC 2022
#65944: gawk fails to update to 5.2.0 as ppc+ppc64 on 10.5.8: ld: unknown option:
-no_pie
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, ppc64
Port: gawk |
---------------------------+-------------------------------------
Comment (by barracuda156):
Yeah, this works:
{{{
platform darwin {
if {${os.major} < 10} {
post-patch {
reinplace "s:-Xlinker -no_pie::" ${worksrcpath}/configure
}
}
}
}}}
All tests pass successfully.
{{{
======== Starting PMA tests ========
/usr/bin/gcc-4.2 -std=gnu99 makepmafile.c -o makepmafile
pma
======== Done with PMA tests ========
======== Starting machine-specific tests ========
If any of these tests fail, don't worry too much.
double1
double2
inf-nan-torture
intformat
======== Done with machine-specific tests ========
ALL TESTS PASSED
36-249:~ svacchanda$
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65944#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list