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:           Sat Aug 17 13:25:50 UTC 2019

Modified Files:
        pkgsrc/pkgtools/url2pkg/files: url2pkg.pl

Log Message:
pkgtools/url2pkg: make dist_subdir a local variable


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/pkgtools/url2pkg/files/url2pkg.pl

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/url2pkg.pl
diff -u pkgsrc/pkgtools/url2pkg/files/url2pkg.pl:1.43 pkgsrc/pkgtools/url2pkg/files/url2pkg.pl:1.44
--- pkgsrc/pkgtools/url2pkg/files/url2pkg.pl:1.43       Sat Aug 17 13:23:35 2019
+++ pkgsrc/pkgtools/url2pkg/files/url2pkg.pl    Sat Aug 17 13:25:50 2019
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: url2pkg.pl,v 1.43 2019/08/17 13:23:35 rillig Exp $
+# $NetBSD: url2pkg.pl,v 1.44 2019/08/17 13:25:50 rillig Exp $
 #
 
 # Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -121,7 +121,6 @@ my ($distname, $abs_wrkdir, $abs_wrksrc)
 my (@wrksrc_files, @wrksrc_dirs);
 my (@depends, @build_depends, @includes, @build_vars, @extra_vars, @todo);
 my ($pkgname);
-my $dist_subdir = "";
 
 #
 # And now to the real magic_* subroutines.
@@ -265,6 +264,7 @@ sub generate_initial_package($) {
        my ($found, $master_site);
        my ($master_sites, $distfile, $homepage, $dist_sufx, $category);
        my ($gh_project, $gh_tag, $gh_release);
+       my $dist_subdir = "";
 
        $found = false;
        open(SITES, "<", "../../mk/fetch/sites.mk") or die;



Home | Main Index | Thread Index | Old Index