[MacPorts] #35249: MacPorts Perl build making incorrect assumptions