From owner-svn-ports-all@freebsd.org Tue Apr 4 14:06:54 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 40A2FD2D4E1; Tue, 4 Apr 2017 14:06:54 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 02AA522A; Tue, 4 Apr 2017 14:06:53 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v34E6rUZ006187; Tue, 4 Apr 2017 14:06:53 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v34E6pmF006170; Tue, 4 Apr 2017 14:06:51 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201704041406.v34E6pmF006170@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 4 Apr 2017 14:06:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r437735 - in head: lang/perl5-devel lang/perl5-devel/files lang/perl5.20 lang/perl5.20/files lang/perl5.22 lang/perl5.22/files lang/perl5.24 lang/perl5.24/files textproc/p5-Pod-Perldoc ... X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2017 14:06:54 -0000 Author: mat Date: Tue Apr 4 14:06:51 2017 New Revision: 437735 URL: https://svnweb.freebsd.org/changeset/ports/437735 Log: Explain perldoc how to handle MANWIDTH=tty in the environment, and stop it from reporting tty being an invalid version. With hat: perl@ Sponsored by: Absolight Added: head/lang/perl5-devel/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm (contents, props changed) head/lang/perl5-devel/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm (contents, props changed) head/lang/perl5.20/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm (contents, props changed) head/lang/perl5.22/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm (contents, props changed) head/lang/perl5.24/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm (contents, props changed) head/textproc/p5-Pod-Perldoc/files/patch-lib_Pod_Perldoc_ToTerm.pm (contents, props changed) Modified: head/lang/perl5-devel/Makefile (contents, props changed) head/lang/perl5.20/Makefile (contents, props changed) head/lang/perl5.20/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm (contents, props changed) head/lang/perl5.22/Makefile (contents, props changed) head/lang/perl5.22/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm (contents, props changed) head/lang/perl5.24/Makefile (contents, props changed) head/lang/perl5.24/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm (contents, props changed) head/textproc/p5-Pod-Perldoc/Makefile (contents, props changed) head/textproc/p5-Pod-Perldoc/files/patch-lib_Pod_Perldoc_ToMan.pm (contents, props changed) Modified: head/lang/perl5-devel/Makefile ============================================================================== --- head/lang/perl5-devel/Makefile Tue Apr 4 14:06:41 2017 (r437734) +++ head/lang/perl5-devel/Makefile Tue Apr 4 14:06:51 2017 (r437735) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= perl -PORTREVISION= 1 +PORTREVISION= 2 # XXX Remove second line, uncomment first #DISTVERSION= ${PERL_VERSION} DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//} Added: head/lang/perl5-devel/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/perl5-devel/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -0,0 +1,11 @@ +--- cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm.orig 2017-04-03 07:28:44 UTC ++++ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm +@@ -108,6 +108,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0; Added: head/lang/perl5-devel/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/perl5-devel/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -0,0 +1,11 @@ +--- cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm.orig 2017-04-03 07:28:44 UTC ++++ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm +@@ -69,6 +69,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0; Modified: head/lang/perl5.20/Makefile ============================================================================== --- head/lang/perl5.20/Makefile Tue Apr 4 14:06:41 2017 (r437734) +++ head/lang/perl5.20/Makefile Tue Apr 4 14:06:51 2017 (r437735) @@ -3,7 +3,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VERSION} -PORTREVISION= 15 +PORTREVISION= 16 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN/../../src/5.0 DIST_SUBDIR= perl Modified: head/lang/perl5.20/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm ============================================================================== --- head/lang/perl5.20/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm Tue Apr 4 14:06:41 2017 (r437734) +++ head/lang/perl5.20/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -9,3 +9,12 @@ else { qw( groff nroff mandoc ) } } +@@ -108,6 +108,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0; Added: head/lang/perl5.20/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/perl5.20/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -0,0 +1,11 @@ +--- cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm.orig 2017-04-04 13:14:41 UTC ++++ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm +@@ -41,6 +41,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0; Modified: head/lang/perl5.22/Makefile ============================================================================== --- head/lang/perl5.22/Makefile Tue Apr 4 14:06:41 2017 (r437734) +++ head/lang/perl5.22/Makefile Tue Apr 4 14:06:51 2017 (r437735) @@ -3,7 +3,7 @@ PORTNAME= perl DISTVERSION= ${PERL_VERSION} -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN/../../src/5.0 CPAN/../by-authors/id/S/SH/SHAY DIST_SUBDIR= perl Modified: head/lang/perl5.22/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm ============================================================================== --- head/lang/perl5.22/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm Tue Apr 4 14:06:41 2017 (r437734) +++ head/lang/perl5.22/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -9,3 +9,12 @@ else { qw( groff nroff mandoc ) } } +@@ -108,6 +108,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0; Added: head/lang/perl5.22/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/perl5.22/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -0,0 +1,11 @@ +--- cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm.orig 2017-04-04 13:18:08 UTC ++++ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm +@@ -41,6 +41,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0; Modified: head/lang/perl5.24/Makefile ============================================================================== --- head/lang/perl5.24/Makefile Tue Apr 4 14:06:41 2017 (r437734) +++ head/lang/perl5.24/Makefile Tue Apr 4 14:06:51 2017 (r437735) @@ -3,7 +3,7 @@ PORTNAME= perl DISTVERSION= ${PERL_VERSION} -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN/../../src/5.0 CPAN/../by-authors/id/S/SH/SHAY DIST_SUBDIR= perl Modified: head/lang/perl5.24/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm ============================================================================== --- head/lang/perl5.24/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm Tue Apr 4 14:06:41 2017 (r437734) +++ head/lang/perl5.24/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToMan.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -9,3 +9,12 @@ else { qw( groff nroff mandoc ) } } +@@ -108,6 +108,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0; Added: head/lang/perl5.24/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/perl5.24/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc_ToTerm.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -0,0 +1,11 @@ +--- cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm.orig 2017-04-04 13:18:08 UTC ++++ cpan/Pod-Perldoc/lib/Pod/Perldoc/ToTerm.pm +@@ -41,6 +41,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0; Modified: head/textproc/p5-Pod-Perldoc/Makefile ============================================================================== --- head/textproc/p5-Pod-Perldoc/Makefile Tue Apr 4 14:06:41 2017 (r437734) +++ head/textproc/p5-Pod-Perldoc/Makefile Tue Apr 4 14:06:51 2017 (r437735) @@ -3,7 +3,7 @@ PORTNAME= Pod-Perldoc PORTVERSION= 3.25 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- Modified: head/textproc/p5-Pod-Perldoc/files/patch-lib_Pod_Perldoc_ToMan.pm ============================================================================== --- head/textproc/p5-Pod-Perldoc/files/patch-lib_Pod_Perldoc_ToMan.pm Tue Apr 4 14:06:41 2017 (r437734) +++ head/textproc/p5-Pod-Perldoc/files/patch-lib_Pod_Perldoc_ToMan.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -9,3 +9,12 @@ else { qw( groff nroff mandoc ) } } +@@ -108,6 +108,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0; Added: head/textproc/p5-Pod-Perldoc/files/patch-lib_Pod_Perldoc_ToTerm.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-Pod-Perldoc/files/patch-lib_Pod_Perldoc_ToTerm.pm Tue Apr 4 14:06:51 2017 (r437735) @@ -0,0 +1,11 @@ +--- lib/Pod/Perldoc/ToTerm.pm.orig 2015-02-12 03:08:32 UTC ++++ lib/Pod/Perldoc/ToTerm.pm +@@ -41,6 +41,8 @@ sub _get_columns_from_manwidth { + + return 0 unless defined $ENV{MANWIDTH}; + ++ if ($ENV{MANWIDTH} eq 'tty') { return 0; } ++ + unless( $ENV{MANWIDTH} =~ m/\A\d+\z/ ) { + $self->warn( "Ignoring non-numeric MANWIDTH ($ENV{MANWIDTH})\n" ); + return 0;