pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/url2pkg/files



Module Name:    pkgsrc
Committed By:   rillig
Date:           Wed Jan 17 19:09:24 UTC 2024

Modified Files:
        pkgsrc/pkgtools/url2pkg/files: Build.pm

Log Message:
pkgtools/url2pkg: fix license_default line in generated makefile

Previously, url2pkg generated a 'license_default=...' line in the
package Makefile, which was confusing. That line was supposed to be a
special url2pkg command, not a makefile variable.

Discovered by gdt@ while packaging devel/p5-Devel-Entropy.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/pkgtools/url2pkg/files/Build.pm

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/url2pkg/files/Build.pm
diff -u pkgsrc/pkgtools/url2pkg/files/Build.pm:1.5 pkgsrc/pkgtools/url2pkg/files/Build.pm:1.6
--- pkgsrc/pkgtools/url2pkg/files/Build.pm:1.5  Wed Jan 17 17:18:14 2024
+++ pkgsrc/pkgtools/url2pkg/files/Build.pm      Wed Jan 17 19:09:24 2024
@@ -86,7 +86,7 @@ sub create_build_script($) {
        my $license = $self->{"license"} || "";
        if ($license ne "") {
                $self->url2pkg_write_cmd("license", $license);
-               $self->url2pkg_write_var("license_default", "# TODO: $license (from Build.PL)")
+               $self->url2pkg_write_cmd("license_default", "# TODO: $license (from Build.PL)")
        }
 }
 



Home | Main Index | Thread Index | Old Index