pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to systematically replace: #!/usr/bin/env python3



On Sun, Jan 05, 2025 at 06:39:47PM +0530, Mayuresh wrote:
> For a similar perl script, REPLACE_PERL works for me. But is that an
> idiomatic way? E.g. should there be something like lang/perl/tool.mk?

Python is often used as a build tool, so it's a separate mk file.
Perl is usually also a runtime dependency.

But I think it's mostly a style issue that REPLACE_PERL is in mk/ and
it would perhaps be decided differently if it was implemented new now.
 Thomas


Home | Main Index | Thread Index | Old Index