Re: Peculiar perl version issue

2019-06-12 Thread Christopher Chavez
> On Jun 12, 2019, at 4:47 PM, Bruce R Miller via macports-dev > wrote: > > So, I tracked it down to the Makefile that perl's MakeMaker generates; > an innocuous thing called "fixin" does that substitution. Possibly related: it is a known issue in MakeMaker that `#!/usr/bin/env perl` in

Re: Peculiar perl version issue

2019-06-12 Thread Bruce R Miller via macports-dev
On 6/12/19 3:06 PM, Ryan Schmidt wrote: On Jun 12, 2019, at 13:41, Bruce R Miller wrote: On 6/12/19 1:14 PM, Ryan Schmidt wrote: On Jun 12, 2019, at 10:26, Bruce Miller wrote: So, apparently the perl portgroup replaces shebang lines that it recognizes with a call to the specific perl that

Re: Peculiar perl version issue

2019-06-12 Thread Ryan Schmidt
On Jun 12, 2019, at 13:41, Bruce R Miller wrote: > On 6/12/19 1:14 PM, Ryan Schmidt wrote: >> On Jun 12, 2019, at 10:26, Bruce Miller wrote: >> >>> So, apparently the perl portgroup replaces shebang >>> lines that it recognizes with a call to the specific >>> perl that was specified in the

Re: Peculiar perl version issue

2019-06-12 Thread Bruce R Miller
On 6/12/19 1:14 PM, Ryan Schmidt wrote: On Jun 12, 2019, at 10:26, Bruce Miller wrote: So, apparently the perl portgroup replaces shebang lines that it recognizes with a call to the specific perl that was specified in the portfile (? is that right?) And if so, it doesn't recognize the above

Re: Peculiar perl version issue

2019-06-12 Thread Ryan Schmidt
On Jun 12, 2019, at 10:26, Bruce Miller wrote: > [This is motivated by the LaTeXML port, > but is a general question about perl portgroup] > > A colleague suggested the clever shebang line > #!/usr/bin/env perl > as a way to easily allow testing against different > versions of perl, running

Re: Peculiar perl version issue

2019-06-12 Thread Ralph Seichter
* Bruce Miller: > (And ideally, I'd avoid the whole version business, since LaTeXML > *should* work with any version of perl after, I think, 5.10) If you are able to determine a minimum required Perl version 5.x.y, might adding 'use 5.x.y;' (e.g. via a patch) for a compile time version check

Peculiar perl version issue

2019-06-12 Thread Bruce Miller
[This is motivated by the LaTeXML port, but is a general question about perl portgroup] A colleague suggested the clever shebang line #!/usr/bin/env perl as a way to easily allow testing against different versions of perl, running in sandboxes, etc. This has worked fine on all systems, so far,