[MacPorts] #48365: Ports should require perl5.22 instead of 5.16

MacPorts noreply at macports.org
Sat Dec 12 04:06:30 PST 2015


#48365: Ports should require perl5.22 instead of 5.16
-------------------------------------------------+-------------------------
  Reporter:  mojca@…                             |      Owner:  macports-
      Type:  defect                              |  tickets@…
  Priority:  Normal                              |     Status:  new
 Component:  ports                               |  Milestone:
Resolution:                                      |    Version:
      Port:  ack ackmate amavisd-new archway     |   Keywords:
  argus-monitor auto-multiple-choice backuppc    |
  biblatex-biber bugzilla clearsilver cloc       |
  cpan2port cpuid cssh cutter cvsweb cws2fws-pl  |
  cyrus-imapd dc3dd ddclient demeter demeter-    |
  devel dirvish docbook-utils docbook2X dvdrip   |
  eperl exo (afb) extractopinion flac2mp3        |
  frozenbubble2 ftpsync fusioninventory-agent    |
  fwknop gdmap ghsum git git-cal glibmm globus-  |
  core gnome-bindings-perl5 gnucash gnucash-     |
  devel gnumeric gnupod grid-packaging-tools     |
  gtk-doc gtkmm GTorrentViewer help2man          |
  homebank hugin-app icon-naming-utils icoutils  |
  ikiwiki imageindex imapsync intltool           |
  latexdiff LaTeXML libbluray liboping-devel     |
  libpurple libsigcxx2 libxmlxx2 log2timeline    |
  magicspp mailqfmt makepasswd mb2md mediaserv   |
  metar metasploit2 mod_perl2 monarch moreutils  |
  mosh mtn-browse munin muttprint myrepos        |
  mysql-zrm mythtv-core.25 mythtv-core.26        |
  mythtv-core.27 mythweb.25 mythweb.26           |
  mythweb.27 nagios-plugins nedi net-snmp nfsen  |
  nrg openbrowser ossp-uuid patchutils pcsc-     |
  tools pearl pemail perfect_maildir perlprimer  |
  pflogsumm pidgin po4a postgresql_autodoc       |
  postgrey psh PsyncX pulseaudio rancid rpm      |
  rpm52 rpm53 rpm54 rrdtool rsnapshot sendpage   |
  shelldap signing-party sleuthkit smokeping     |
  snmptt snownews spidereyeballs sqlgrey stow    |
  subversion-perlbindings-5.16 swaks sympa       |
  system-tools-backends t-prot tablet-encode     |
  texinfo thieriot tinyca2 torrentsniff tsung    |
  vantages vcheck vit wakeonlan whois wml        |
  xchat-gnome xfce-utils xqf xserve-raid-tools   |
-------------------------------------------------+-------------------------

Comment (by mojca@…):

 I would like to remind the maintainers to commit changes to their ports to
 switch to `perl5.22` as we would like to get rid of 5.16, hopefully before
 5.22 becomes "the new old version" already. One way to do the changes (in
 the name of easier transitions in the future) is the following:

 {{{
 PortGroup           perl5 1.0
 ...
 perl5.branches      5.22
 ...
 depends_lib-append  port:perl${perl5.major} \
                     port:p${perl5.major}-foo \
                     ...
 }}}

 Instead of `configure.env-append PERL=...` you can use
 {{{
 configure.perl      ${perl5.bin}
 }}}
 and the `${perl5.bin}` can also be used in other places like
 {{{
 reinplace "s|\#!/usr/bin/perl|\#!${perl5.bin}|" ...
 }}}

 (David was more in favour of solutions that don't add the extra overhead,
 but in any case it would be extremely helpful if all these ports wouldn't
 have the Perl version hardcoded at a dozen places and to me it would be
 even more helpful if we could do a more straightforward "search-and-
 replace" of `perl5.branches` in the future. At the moment some ports use
 "`set perl_version 5.x`", some "`set pbranch 5.x`", so doing a semi-
 automated change is not entirely straightforward.)

-- 
Ticket URL: <https://trac.macports.org/ticket/48365#comment:12>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list