[MacPorts] #54068: mozjs17 @17.0.0_5 won't build (on PPC Tiger, Mac OS X 10.4.11) because sys/sysctl.h does not provide _SC_NPROCESSORS_ONLN but HW_NCPU
MacPorts
noreply at macports.org
Thu May 4 02:47:03 UTC 2017
#54068: mozjs17 @17.0.0_5 won't build (on PPC Tiger, Mac OS X 10.4.11) because
sys/sysctl.h does not provide _SC_NPROCESSORS_ONLN but HW_NCPU
------------------------+----------------------
Reporter: ballapete | Owner: juanrgar
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords: haspatch
Port: mozjs17 |
------------------------+----------------------
Comment (by kencu):
Although this extra function is pretty simple, it would be quite elegant
to just override the sysconf function on Tiger for certain selectors, with
a function that falls through to the library sysconf. That would make this
really quite transparent.
<https://github.com/rentzsch/mach_override>.
<https://papers.put.as/papers/macosx/2003/overridingMacOSX.pdf><http://stackoverflow.com/questions/617554/override-a
-function-call-in-c>
--
Ticket URL: <https://trac.macports.org/ticket/54068#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list