[mythtv] Errant Version.pm being added to perl install directory

David Hampton mythtv at love2code.net
Mon Jan 23 17:47:09 UTC 2023


On Mon, 2023-01-23 at 16:15 +0000, Gary Buhrmaster wrote:
> On Mon, Jan 23, 2023 at 3:35 PM David Hampton via mythtv-dev
> <mythtv-dev at mythtv.org> wrote:
> 
> > True, but this method makes it easier to port the change to cmake.
> 
> The goal of cmake is good.
> 
> > Cmake has a configure_file function specifically designed to do
> > this
> > kind of substitution.
> 
> So why not use it to configure the Makefile.PL "Version"
> string directly?  As my patch demonstrated, one does not
> have to pull the version from a file, it can be directly
> specified.

I like the idea, but the value is also available as MythTV::VERSION,
however you would write that in perl.  I ended up with this as my test
case:

    #! /usr/bin/perl
    use MythTV;
    print STDOUT "$VERSION\n";

David



More information about the mythtv-dev mailing list