summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz>2015-06-17 11:59:58 +0000
committerwiz <wiz>2015-06-17 11:59:58 +0000
commitc66f2c2b1452d9c338edbde7f9e69073fddd38c3 (patch)
tree68bdf48f8414044bd709e1a548b85a662e8ec06f /pkgtools
parentc113849abccfb6d46272ede73fb68b3f5180ec13 (diff)
downloadpkgsrc-c66f2c2b1452d9c338edbde7f9e69073fddd38c3.tar.gz
Fix uninitialized variables warnings.
From ISIHARA Takanori in PR 49980.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/url2pkg/Makefile6
-rw-r--r--pkgtools/url2pkg/files/url2pkg.pl4
2 files changed, 5 insertions, 5 deletions
diff --git a/pkgtools/url2pkg/Makefile b/pkgtools/url2pkg/Makefile
index c4998b03c2f..3b4f168b44a 100644
--- a/pkgtools/url2pkg/Makefile
+++ b/pkgtools/url2pkg/Makefile
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile,v 1.78 2015/06/12 10:50:56 wiz Exp $
-#
+# $NetBSD: Makefile,v 1.79 2015/06/17 11:59:58 wiz Exp $
-PKGNAME= url2pkg-2.22
-PKGREVISION= 1
+PKGNAME= url2pkg-2.23
CATEGORIES= pkgtools
MAINTAINER= pkgsrc-users@NetBSD.org
diff --git a/pkgtools/url2pkg/files/url2pkg.pl b/pkgtools/url2pkg/files/url2pkg.pl
index 364860d4ada..0e320e2b0f8 100644
--- a/pkgtools/url2pkg/files/url2pkg.pl
+++ b/pkgtools/url2pkg/files/url2pkg.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: url2pkg.pl,v 1.28 2015/04/07 00:10:33 rodent Exp $
+# $NetBSD: url2pkg.pl,v 1.29 2015/06/17 11:59:58 wiz Exp $
#
# Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -333,6 +333,8 @@ sub generate_initial_package($) {
} else {
die("$0: ERROR: Invalid GitHub URL: ${url}\n");
}
+ } else {
+ $gh_project = ""; $gh_release = ""; $dist_subdir = "";
}
}