[MacPorts] #67830: perl5 @5.34 +perl5_36: cannot install perl modules

MacPorts noreply at macports.org
Fri Jul 28 05:01:08 UTC 2023


#67830: perl5 @5.34 +perl5_36: cannot install perl modules
------------------------------+--------------------
  Reporter:  NorthboundTrain  |      Owner:  (none)
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:
Resolution:                   |   Keywords:
      Port:  perl5            |
------------------------------+--------------------

Comment (by ryandesign):

 Updating the perl5.36 port to 5.36.1 would be comparatively easy. [browser
 :macports-ports/lang/perl5/Portfile The perl5 Portfile] is set up in a
 more complicated way than most Portfiles since it has multiple subports,
 one for each perl version, but it has been designed to be easy to update.
 You can look through the [log:macports-ports/lang/perl5/Portfile history
 of the perl5 Portfile] to see how previous updates were done. For example,
 here's where [changeset:f0f044558be930f502ce96fbeb62564e37a5e700/macports-
 ports perl5.34 was updated from 5.34.0 to 5.34.1]. Looks like it could be
 as simple as just modifying the single line that starts with `5.36`. Then
 of course test the build and if it works, submit a pull request.

 Adding a perl5.38 subport to it is more involved but you can check the
 history of the port for inspiration, like this commit where
 [changeset:53360423601314e24d490be918d69b507ee0701e/macports-ports
 perl5.34 was added]. Looks like many patches were added, though I expect
 most were just copied from perl5.32. You would want to carefully study the
 perl 5.38 release notes to see if there are any changes in this version
 that need to be addressed in some way in the rest of the Portfile.

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


More information about the macports-tickets mailing list