Re: [MacPorts] #30599: h2ph not rerun after perl5 upgrade
#30599: h2ph not rerun after perl5 upgrade -----------------------+-------------------------------- Reporter: vinc17@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: perl5 | -----------------------+-------------------------------- Comment (by mojca@…): geekosaur at IRC:
Basically `h2ph` for a perl version should be run in the `postinstall`
for that perl version.
This "translates" system header files to perl, producing pack templates for structs used by syscalls / libraries
In theory you could run it as part of packaging it for a given macOS release, but that courts license issues (those files are covered not by the perl license but the OS license)
Typical usage is: {{{ cd /usr/include; h2ph -r -l . }}} (which translates all the translatable headers, recursively, installing the result in the appropriate perl site packages dir)
If perl is built universally, the result is different. -- Ticket URL: <https://trac.macports.org/ticket/30599#comment:4> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
participants (1)
-
MacPorts