Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 12:32:57 -0700
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        "Zane C. Bowers-Hadley" <vvelox@vvelox.net>, wen@freebsd.org
Cc:        perl@freebsd.org, olivier@freebsd.org
Subject:   devel/p5-Sub-Quote: unneeded depends added in a5d9499c055a
Message-ID:  <ZIdy6RlTOdlhbniW@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
  Zane, Wen,

I think this change a5d9499c055a was incorrect. Sub-Quote shall not need XString with
any modern perl installation. This is the actual code:

  # if B is already loaded, just use its perlstring
  if ("$]" >= 5.008_000 && "$]" != 5.010_000 && defined &B::perlstring) {
    *_perlstring = \&B::perlstring;
  }
  # XString is smaller than B, so prefer to use it. Buggy until 0.003.
  elsif (eval { require XString; XString->VERSION(0.003) }) {
    *_perlstring = \&XString::perlstring;
  }

The B module is part of perl and is always present. Zane, can you please check
your environment where spamd failed? There is something wrong with the perl
installation there, I guess.

The change should be reverted, imho.

-- 
Gleb Smirnoff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZIdy6RlTOdlhbniW>