pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/url2pkg
Module Name: pkgsrc
Committed By: rillig
Date: Sun Jan 7 11:20:19 UTC 2018
Modified Files:
pkgsrc/pkgtools/url2pkg: Makefile
pkgsrc/pkgtools/url2pkg/files: MakeMaker.pm url2pkg.pl
Log Message:
Update url2pkg-2.29: Fix generation of Perl packages.
The WriteMakefile subroutine was not exported properly.
To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 pkgsrc/pkgtools/url2pkg/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/pkgtools/url2pkg/files/MakeMaker.pm
cvs rdiff -u -r1.34 -r1.35 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/Makefile
diff -u pkgsrc/pkgtools/url2pkg/Makefile:1.86 pkgsrc/pkgtools/url2pkg/Makefile:1.87
--- pkgsrc/pkgtools/url2pkg/Makefile:1.86 Tue Sep 27 17:10:09 2016
+++ pkgsrc/pkgtools/url2pkg/Makefile Sun Jan 7 11:20:18 2018
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.86 2016/09/27 17:10:09 wiz Exp $
+# $NetBSD: Makefile,v 1.87 2018/01/07 11:20:18 rillig Exp $
-PKGNAME= url2pkg-2.28
+PKGNAME= url2pkg-2.29
CATEGORIES= pkgtools
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/pkgtools/url2pkg/files/MakeMaker.pm
diff -u pkgsrc/pkgtools/url2pkg/files/MakeMaker.pm:1.4 pkgsrc/pkgtools/url2pkg/files/MakeMaker.pm:1.5
--- pkgsrc/pkgtools/url2pkg/files/MakeMaker.pm:1.4 Sat Dec 28 16:46:29 2013
+++ pkgsrc/pkgtools/url2pkg/files/MakeMaker.pm Sun Jan 7 11:20:18 2018
@@ -50,14 +50,13 @@ BEGIN {
use Exporter;
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
- @EXPORT = qw(WriteMakefile prompt);
}
# From lib/perl5/5.18.0/ExtUtils/MakeMaker.pm
our $VERSION = '6.66';
our $Verbose = 0; # exported
-our @EXPORT = qw($Verbose $version);
+our @EXPORT = qw(&WriteMakefile &prompt $Verbose $version);
our @EXPORT_OK = qw(&neatvalue);
# Finds and returns the category a given package lies in.
Index: pkgsrc/pkgtools/url2pkg/files/url2pkg.pl
diff -u pkgsrc/pkgtools/url2pkg/files/url2pkg.pl:1.34 pkgsrc/pkgtools/url2pkg/files/url2pkg.pl:1.35
--- pkgsrc/pkgtools/url2pkg/files/url2pkg.pl:1.34 Tue Sep 27 17:10:09 2016
+++ pkgsrc/pkgtools/url2pkg/files/url2pkg.pl Sun Jan 7 11:20:18 2018
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: url2pkg.pl,v 1.34 2016/09/27 17:10:09 wiz Exp $
+# $NetBSD: url2pkg.pl,v 1.35 2018/01/07 11:20:18 rillig Exp $
#
# Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -89,32 +89,40 @@ sub print_section($$) {
printf $f ("\n");
}
-#
-# Introduction to the magic_* subroutines.
-#
-# The following routines are called after the distfiles have been
-# downloaded and extracted. They may inspect the extracted files
+# The following magic_* subroutines are called after the distfiles have
+# been downloaded and extracted. They inspect the extracted files
# to automatically define some variables in the package Makefile.
#
# The following variables may be used in the magic_* subroutines:
-# $distname contains the package name, including the version number.
-# $abs_wrkdir is an absolute pathname to the working directory, which
-# contains the extracted distfiles. $abs_wrksrc is the absolute pathname
-# to a subdirectory of $abs_wrkdir, in which you can usually find the
-# package-provided Makefiles or configure scripts.
+#
+# $distname
+# contains the package name, including the version number.
+# $abs_wrkdir
+# the absolute pathname to the working directory, containing
+# the extracted distfiles.
+# $abs_wrksrc
+# the absolute pathname to a subdirectory of $abs_wrkdir,
+# typically containing package-provided Makefiles or configure
+# scripts.
#
# The following lists may be extended by the magic_* routines and
-# will later appear in the package Makefile: @depends and @build_depends
-# contain the dependencies of the package, in the form
-# "package>=version". @includes is a list of pathnames relative to the
-# package path. All these files will be included at the bottom of the
-# Makefile. @build_vars is a list of [varname, value] items that contain
-# variables that will be defined in the fourth paragraph of the package
-# Makefile, where the build configuration takes place. The @extra_vars
-# are similar to the @build_vars, but separated by an empty line in the
-# Makefile. The @todo items are inserted below the second paragraph in
-# the Makefile.
+# will later appear in the package Makefile:
#
+# @depends
+# @build_depends
+# the dependencies of the package, in the form "package>=version".
+# @includes
+# a list of pathnames relative to the package path.
+# All these files will be included at the bottom of the Makefile.
+# @build_vars
+# a list of [varname, value] items that contain variables that
+# will be defined in the fourth paragraph of the package Makefile,
+# where the build configuration takes place.
+# @extra_vars
+# similar to the @build_vars, but separated by an empty line in
+# the Makefile, therefore forming the fifth paragraph.
+# @todo
+# these are inserted below the second paragraph in the Makefile.
my ($distname, $abs_wrkdir, $abs_wrksrc);
my (@wrksrc_files, @wrksrc_dirs);
Home |
Main Index |
Thread Index |
Old Index