Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Term-ReadLine-Gnu for 
openSUSE:Factory checked in at 2021-02-26 21:59:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Term-ReadLine-Gnu (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Term-ReadLine-Gnu.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Term-ReadLine-Gnu"

Fri Feb 26 21:59:21 2021 rev:3 rq:875106 version:1.40

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.changes
    2021-01-04 19:10:11.351438970 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Term-ReadLine-Gnu.new.2378/perl-Term-ReadLine-Gnu.changes
  2021-02-26 21:59:24.399818461 +0100
@@ -1,0 +2,6 @@
+Wed Feb 24 03:09:55 UTC 2021 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 1.40
+   see /usr/share/doc/packages/perl-Term-ReadLine-Gnu/Changes
+
+-------------------------------------------------------------------

Old:
----
  Term-ReadLine-Gnu-1.37.tar.gz

New:
----
  Term-ReadLine-Gnu-1.40.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Term-ReadLine-Gnu.spec ++++++
--- /var/tmp/diff_new_pack.njI4b1/_old  2021-02-26 21:59:25.171819139 +0100
+++ /var/tmp/diff_new_pack.njI4b1/_new  2021-02-26 21:59:25.171819139 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Term-ReadLine-Gnu
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define cpan_name Term-ReadLine-Gnu
 Name:           perl-Term-ReadLine-Gnu
-Version:        1.37
+Version:        1.40
 Release:        0
 Summary:        Perl extension for the GNU Readline/History Library
 License:        Artistic-1.0 OR GPL-1.0-or-later

++++++ Term-ReadLine-Gnu-1.37.tar.gz -> Term-ReadLine-Gnu-1.40.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/Changes 
new/Term-ReadLine-Gnu-1.40/Changes
--- old/Term-ReadLine-Gnu-1.37/Changes  2020-12-27 04:21:44.000000000 +0100
+++ new/Term-ReadLine-Gnu-1.40/Changes  2021-02-23 07:08:35.000000000 +0100
@@ -1,5 +1,26 @@
        -*- Indented-text -*-
-       $Id: Changes 576 2020-12-27 03:21:45Z hayashi $
+
+1.40  2021-02-23
+        - Migrate the repository and the bug tracker to GitHub
+
+1.39  2021-02-22
+        - Makefile.PL
+            - some more fix for Homebrew on macOS [rt.cpan.org #133846]
+
+1.38  2021-02-22
+        - Makefile.PL
+            - run 'brew --prefix ncurses' internally to detect ncurses 
installed
+              by Homebrew on macOS [rt.cpan.org #133846]
+            - utilize ExtUtils::Liblist::ext() [rt.cpan.org #134408]
+              On macOS Big Sur or later 'perl Makefile.PL' may warn as
+                "Could not find neither libtermcap, libtinfo, libncurses, or 
libcurses."
+              You should be able to ignore this warning if you have Xcode 
installed. See
+                
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/381
+              for details. To suppress this message, use ExtUtils::MakeMaker 
7.58 or later.
+            - can specify multiple directories on --prefix, --libdir, and
+              --includedir options by separating them with colons
+        - INSTALL
+            - update for changes above and so on.
 
 1.37  2020-12-27
        - readline-8.1 support
@@ -58,7 +79,7 @@
        - Gnu.pm, t/utf8_text.t: fix version checks for perl 5.10.0.
        - t/utf8_text.t: fix the number of skip for systems which do
          not support en_US.UTF-8 locale.
-       - Gnu.pm: delete old formated 'use VERSION'
+       - Gnu.pm: delete old formatted 'use VERSION'
 
 1.32  2016-06-06
        - improve UTF-8 handling
@@ -76,10 +97,10 @@
           history_get_history_state(), and history_set_history_state()
           are finally implemented.
        - update RL_STATE_* definitions
-       - fix rl_readline_state and history_legnth variable to be
+       - fix rl_readline_state and history_length variable to be
           writable
        - fix rl_completion_quote_character and
-          rl_completion_found_quate variable to be read only
+          rl_completion_found_quote variable to be read only
        - update POD document
        - t/*.t: use Test::More and improved
          - t/utf8_binary.t, t/utf8_text.t:
@@ -144,7 +165,7 @@
 
 1.26  2015-01-31
        - call ornaments() after rl_initialize() to set tty before
-          calling rl_initialize() not to output some charactores to
+          calling rl_initialize() not to output some characters to
           STDIO. [rt.cpan.org #96569, #101196]
        - make handling of iostreams simple (make _rl_store_iostream()
           return void and remove _rl_fetch_iostream()) [rt.cpan.org #101078]
@@ -172,7 +193,7 @@
 
 1.23  2014-03-20
        - add description of the pager command bug in Perl debugger
-         which causes segementation fault [rt.perl.org #121456]
+         which causes segmentation fault [rt.perl.org #121456]
        - fix not to clobber binmode layer (utf-8) on filehandles [rt.cpan.org 
#59832]
        - support UTF-8 input as compatible with Term::ReadLine
          - Now Term::ReadLine::Gnu requires perl 5.8.0 or above
@@ -214,7 +235,7 @@
        - make the following variables read-only.: rl_executing_macro,
           history_length, rl_readline_state, rl_explicit_arg,
          rl_numeric_arg, rl_editing_mode
-       - Improve backward compatiblity variable and function definitions.
+       - Improve backward compatibility variable and function definitions.
        - Fix Term::ReadLine::Gnu::XS::_trp_completion_function not to
          perform a case-sensitive filter. [rt.cpan.org #72378]
        - fix Gnu.xs:rl_initialize to be compiled with Perl 5.8.5 or
@@ -228,7 +249,7 @@
        - eg/perlsh makes use of the deferred signal (safe signal)
           feature.
 
-       - Maefile.PL checks whether the xmalloc exported by readline
+       - Makefile.PL checks whether the xmalloc exported by readline
          is indeed called 'xmalloc' or whether it has been renamed to
          '_rl_malloc'. [rt.cpan.org #65973]
        - Makefile.PL: add -DTRL_READLINE_VERSION to show GNU Readline
@@ -264,7 +285,7 @@
 
 1.18  2009-02-27
        - better error checking of Makefile.PL for automatic testing
-         on non-supported platfrom (for example one without GNU
+         on non-supported platform (for example one without GNU
          Readline Library).
        - readline-6.0 support
            new function
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/Gnu/XS.pm 
new/Term-ReadLine-Gnu-1.40/Gnu/XS.pm
--- old/Term-ReadLine-Gnu-1.37/Gnu/XS.pm        2020-12-27 04:21:44.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/Gnu/XS.pm        2021-02-23 07:09:14.000000000 
+0100
@@ -1,9 +1,7 @@
 #
 #      XS.pm : perl function definition for Term::ReadLine::Gnu
 #
-#      $Id: XS.pm 576 2020-12-27 03:21:45Z hayashi $
-#
-#      Copyright (c) 1999-2020 Hiroo Hayashi.  All rights reserved.
+#      Copyright (c) 1999-2021 Hiroo Hayashi.  All rights reserved.
 #
 #      This program is free software; you can redistribute it and/or
 #      modify it under the same terms as Perl itself.
@@ -16,7 +14,7 @@
 use AutoLoader 'AUTOLOAD';
 
 our $VERSION;
-$VERSION='1.37';       # added for CPAN
+$VERSION='1.40';       # added for CPAN
 
 # make aliases
 our %Attribs;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/Gnu.pm 
new/Term-ReadLine-Gnu-1.40/Gnu.pm
--- old/Term-ReadLine-Gnu-1.37/Gnu.pm   2020-12-27 04:21:44.000000000 +0100
+++ new/Term-ReadLine-Gnu-1.40/Gnu.pm   2021-02-23 07:09:02.000000000 +0100
@@ -1,9 +1,7 @@
 #
 #      Gnu.pm --- The GNU Readline/History Library wrapper module
 #
-#      $Id: Gnu.pm 576 2020-12-27 03:21:45Z hayashi $
-#
-#      Copyright (c) 1996-2020 Hiroo Hayashi.  All rights reserved.
+#      Copyright (c) 1996-2021 Hiroo Hayashi.  All rights reserved.
 #
 #      This program is free software; you can redistribute it and/or
 #      modify it under the same terms as Perl itself.
@@ -93,7 +91,7 @@
     use Exporter ();
     use DynaLoader;
 
-    our $VERSION = '1.37';             # update Gnu::XS::VERSION also.
+    our $VERSION = '1.40';             # update Gnu::XS::VERSION also.
 
     # Term::ReadLine::Gnu::AU makes a function in
     # `Term::ReadLine::Gnu::XS' as a method.
@@ -2156,7 +2154,7 @@
 
 =over 4
 
-=item L<Term::ReadLine::Gnu Project Home 
Page|http://sourceforge.net/projects/perl-trg/>
+=item L<Term::ReadLine::Gnu Project Home 
Page|https://github.com/hirooih/perl-trg>
 
 =item L<GNU Readline Library 
Manual|https://tiswww.cwru.edu/php/chet/readline/readline.html>
 
@@ -2243,7 +2241,7 @@
 =over 4
 
 =item Submit a bug report to
-L<rt.cpan.org|https://rt.cpan.org/Dist/Display.html?Name=Term-ReadLine-Gnu>.
+L<the bug tracker on GitHub|https://github.com/hirooih/perl-trg/issues>.
 
 =item C<add_defun()> can define up to 16 functions.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/Gnu.xs 
new/Term-ReadLine-Gnu-1.40/Gnu.xs
--- old/Term-ReadLine-Gnu-1.37/Gnu.xs   2020-12-27 02:58:24.000000000 +0100
+++ new/Term-ReadLine-Gnu-1.40/Gnu.xs   2021-02-23 06:50:52.000000000 +0100
@@ -1,8 +1,6 @@
 /*
  *     Gnu.xs --- GNU Readline wrapper module
  *
- *     $Id: Gnu.xs 575 2020-12-27 01:58:24Z hayashi $
- *
  *     Copyright (c) 1996-2020 Hiroo Hayashi.  All rights reserved.
  *
  *     This program is free software; you can redistribute it and/or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/INSTALL 
new/Term-ReadLine-Gnu-1.40/INSTALL
--- old/Term-ReadLine-Gnu-1.37/INSTALL  2020-12-26 14:49:49.000000000 +0100
+++ new/Term-ReadLine-Gnu-1.40/INSTALL  2021-02-23 06:50:59.000000000 +0100
@@ -1,5 +1,4 @@
 -*- Indented-text -*-
-#      $Id: INSTALL 487 2015-05-23 08:00:11Z hayashi $
 
 1. How to Install Term::ReadLine::Gnu
 
@@ -31,7 +30,11 @@
 
        % perl Makefile.PL --prefix=/mydir
 
-       If you are not an administrator and cannot install Perl module
+       You can specify multiple directories by separating them with colons;
+
+       % perl Makefile.PL --prefix=/termcap/dir:/readline/dir
+
+        If you are not an administrator and cannot install Perl module
        in your system directory, try
                perldoc perlfaq8
        and see the section 'How do I keep my own module/library
@@ -41,9 +44,9 @@
 1.3 Trouble Shooting
 
         If you have any trouble when using or installing this module
-       or find a bug, please open a ticket on the bug tracker at
-       rt.cpan.org;
-       <http://rt.cpan.org/Dist/Display.html?Queue=Term-ReadLine-Gnu>
+       or find a bug, please open a ticket on the bug tracker on
+       GitHub;
+       <https://github.com/hirooih/perl-trg/issues>
 
        It will help other people who have same problems.
 
@@ -74,22 +77,18 @@
        instead.  GNU Readline Library 4.2 is not supported.  Use 4.2a
        instead.
 
-       If you have any reasons in which use must use one of the follows;
-               GNU Readline Library 2.1
-               libreadline.a in bash-2.0.tar.gz
-               Cygwin b20.1
-       see INSTALL file which is included in Term-ReadLine-Gnu-1.11.
-
        Executing `perl Makefile.PL` detects which version of
        the GNU Readline Library is already installed and warns you if
        you have the unsupported version.
 
        In the following example, the install prefix directory is
        `/usr/local/gnu'.
-       
-       You can specify any directory for the GNU Readline library and
-       its header files, by editing `LIBS' and/or `INC' section in
-       Makefile.PL.
+
+       If you have any reasons in which use must use one of the follows;
+               GNU Readline Library 2.1
+               libreadline.a in bash-2.0.tar.gz
+               Cygwin b20.1
+       see INSTALL file which is included in Term-ReadLine-Gnu-1.11.   
 
 2.1. Install from the GNU Readline Library Source
 
@@ -100,9 +99,15 @@
        3. make and install
                % make install
 
-2.1.1. Install on Mac OS X
+2.1.1. Install on macOS
 
-       /usr/bin/perl on Mac OS X 10.5 (Leopard) and later supports
+        On macOS Big Sur or later 'perl Makefile.PL' may warn as
+          "Could not find neither libtermcap, libtinfo, libncurses, or 
libcurses."
+        You should be able to ignore this warning if you have Xcode installed. 
See
+          https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/381
+        for details. To suppress this message, use ExtUtils::MakeMaker 7.58 or 
later.
+
+       /usr/bin/perl on macOS 10.5 (Leopard) and later supports
        32bit/64bit universal binary.  Make Makefile as follows;
 
        # tested only on Mavericks
@@ -124,19 +129,25 @@
 
 2.2. Using Package
 
-2.2.1. RPM on Linux
+2.2.1. APT based Linux
+
+       On APT-based Linux you need to install 'libncurses-dev' package in
+       addition to 'libreadline-dev' package.
+
+       % sudo apt install libncurses-dev libreadline-dev
+
+2.2.2. RPM based Linux
 
-       On Linux you need to install 'ncurses-devel' package in
-       addition to 'readline-devel' package.  On distributions using
-       RPM do follows;
+       On RPM-based Linux you need to install 'ncurses-devel' package in
+       addition to 'readline-devel' package.
 
        % sudo yum install ncurses-devel
        % sudo yum install readline-devel
 
-2.2.2. homebrew on Mac OS X
+2.2.3. Homebrew on macOS
 
-       1. Install homebrew
-       See http://brew.sh/.
+       1. Install Homebrew
+       See https://brew.sh/.
 
        2. Use homebrew to install the GNU Readline Library:
                        % brew install readline
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/META.json 
new/Term-ReadLine-Gnu-1.40/META.json
--- old/Term-ReadLine-Gnu-1.37/META.json        2020-12-27 04:23:59.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/META.json        2021-02-23 08:21:24.000000000 
+0100
@@ -39,16 +39,16 @@
    "release_status" : "stable",
    "resources" : {
       "bugtracker" : {
-         "web" : 
"http://rt.cpan.org/Public/Dist/Display.html?Name=Term-ReadLine-Gnu";
+         "web" : "https://github.com/hirooih/perl-trg/issues";
       },
-      "homepage" : "http://sourceforge.net/projects/perl-trg/";,
+      "homepage" : "https://github.com/hirooih/perl-trg";,
       "license" : [
          "http://dev.perl.org/licenses/";
       ],
       "repository" : {
-         "url" : "https://sourceforge.net/p/perl-trg/code/HEAD/tree/";
+         "url" : "https://github.com/hirooih/perl-trg.git";
       }
    },
-   "version" : "1.37",
+   "version" : "1.40",
    "x_serialization_backend" : "JSON::PP version 4.02"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/META.yml 
new/Term-ReadLine-Gnu-1.40/META.yml
--- old/Term-ReadLine-Gnu-1.37/META.yml 2020-12-27 04:23:59.000000000 +0100
+++ new/Term-ReadLine-Gnu-1.40/META.yml 2021-02-23 08:21:24.000000000 +0100
@@ -20,9 +20,9 @@
 requires:
   perl: '5.008001'
 resources:
-  bugtracker: 
http://rt.cpan.org/Public/Dist/Display.html?Name=Term-ReadLine-Gnu
-  homepage: http://sourceforge.net/projects/perl-trg/
+  bugtracker: https://github.com/hirooih/perl-trg/issues
+  homepage: https://github.com/hirooih/perl-trg
   license: http://dev.perl.org/licenses/
-  repository: https://sourceforge.net/p/perl-trg/code/HEAD/tree/
-version: '1.37'
+  repository: https://github.com/hirooih/perl-trg.git
+version: '1.40'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/Makefile.PL 
new/Term-ReadLine-Gnu-1.40/Makefile.PL
--- old/Term-ReadLine-Gnu-1.37/Makefile.PL      2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/Makefile.PL      2021-02-23 06:51:07.000000000 
+0100
@@ -1,9 +1,7 @@
 #
 #      Makefile.PL for Term::ReadLine::Gnu
 #
-#      $Id: Makefile.PL 568 2020-04-23 13:25:35Z hayashi $
-#
-#      Copyright (c) 1996-2017 Hiroo Hayashi.  All rights reserved.
+#      Copyright (c) 1996-2021 Hiroo Hayashi.  All rights reserved.
 #              <hiroo.haya...@computer.org>
 #
 #      This program is free software; you can redistribute it and/or
@@ -22,7 +20,7 @@
 use Config;
 use Getopt::Long;
 use 5.008; use 5.8.1;
-my ($defs, $libs, $lddflags, $RLLIB, $RLINC);
+my ($defs, $libs, $lddflags, $RLLIB, $RLINC, @LIBPTH);
 
 # exit 0 before creating the Makefile to be CPAN Testers friendly
 # see http://wiki.cpantester.org/wiki/CPANAuthorNotes
@@ -39,10 +37,6 @@
     warn "wrong \$TERM value: $ENV{TERM}\n";
     exit 0;
 }
-# I could not reach a tester, "Chris Williams (BINGOS)".
-#if ($ENV{AUTOMATED_TESTING} && ($Config{osname} eq 'openbsd')) {
-#    die "OS unsupported\nPlease contact the author.\n";
-#}
 
 $defs = ($Config{strings} =~ m|/string.h$|) ? '-DHAVE_STRING_H' : '';
 
@@ -57,10 +51,24 @@
     GetOptions("prefix=s" => \$prefix,
               "libdir=s" => \$libdir,
               "includedir=s" => \$incdir);
-    $RLLIB = defined $libdir
-       ? "-L$libdir" : (defined $prefix ? "-L$prefix/lib" : '');
-    $RLINC = defined $incdir
-       ? "-I$incdir" : (defined $prefix ? "-I$prefix/include" : '');
+    if (defined $libdir) {
+        foreach (split(':', $libdir)) {
+            $RLLIB .= " -L$_";
+            push (@LIBPTH, $_);
+        }
+    }
+    if (defined $incdir) {
+        foreach (split(':', $incdir)) {
+            $RLINC .= " -I$_";
+        }
+    }
+    if (defined $prefix) {
+        foreach (split(':', $prefix)) {
+            $RLLIB .= " -L$_/lib";
+            push (@LIBPTH, "$_/lib");
+            $RLINC .= " -I$_/include";
+        }
+    }
 }
 
 if ($Config{osname} eq 'os2') {
@@ -73,11 +81,15 @@
     # OS X uses libedit, but they've named it libreadline...
     # see if user has installed gnu readline via homebrew
     if ($Config{osname} eq 'darwin' && !($RLLIB || $RLINC)) {
-        my $homebrew_prefix = `brew --prefix readline`;
-        if ($homebrew_prefix) {
+        foreach ('readline', 'ncurses') {
+            my $homebrew_prefix = `brew --prefix $_`;
             chomp $homebrew_prefix;
-            $RLLIB = "-L$homebrew_prefix/lib";
-            $RLINC = "-I$homebrew_prefix/include";
+            if ($homebrew_prefix
+                && ((substr($Config{osvers}, 0, index($Config{osvers}, '.')) > 
19) || -d $homebrew_prefix)) {
+                $RLLIB .= " -L$homebrew_prefix/lib";
+                push (@LIBPTH, "$homebrew_prefix/lib");
+                $RLINC .= " -I$homebrew_prefix/include";
+            }
         }
     }
 
@@ -95,8 +107,16 @@
        || &search_lib('-lcurses');
 
     unless ($TERMCAP_LIB) {
-       warn "Could not find neither libtermcap, libtinfo, libncurses, or 
libcurses.\n";
-       exit $err;
+        warn "Could not find neither libtermcap, libtinfo, libncurses, or 
libcurses.\n";
+        if ($Config{osname} eq 'darwin'
+            && substr($Config{osvers}, 0, index($Config{osvers}, '.')) > 19
+            && $ExtUtils::MakeMaker::VERSION < 7.58) {
+            warn "Install XCode or use Homebrew package.\n";
+            warn "macOS Big Sur or later requires ExtUtils::MakeMaker 7.58 or 
later.\n";
+            warn "See 
https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/381 for 
details.\n";
+        } else {
+            exit $err;
+        }
     } 
  
     $libs = "-lreadline $TERMCAP_LIB";
@@ -139,9 +159,9 @@
      META_MERGE          => {
         resources => {
             license => 'http://dev.perl.org/licenses/',
-            homepage => 'http://sourceforge.net/projects/perl-trg/',
-            bugtracker => 
'http://rt.cpan.org/Public/Dist/Display.html?Name=Term-ReadLine-Gnu',
-            repository => 'https://sourceforge.net/p/perl-trg/code/HEAD/tree/',
+            homepage => 'https://github.com/hirooih/perl-trg',
+            bugtracker => 'https://github.com/hirooih/perl-trg/issues',
+            repository => 'https://github.com/hirooih/perl-trg.git',
         },
      },
      VERSION_FROM => 'Gnu.pm',
@@ -156,7 +176,7 @@
       ) : () ),
      INC         => $RLINC,
      dist        => { COMPRESS => 'gzip -9f', SUFFIX => 'gz' },
-     clean       => { FILES => "rlver.c rlver$Config{_exe} rlmalloc.c 
rlmalloc$Config{_exe}" },
+     clean       => { FILES => "rlver.c rlver$Config{_exe} rlmalloc.c 
rlmalloc$Config{_exe} .history_test" },
 );
 
 if ($Config{usesfio} eq 'true') {
@@ -176,24 +196,27 @@
 # Search a library '$lib' in $Config{libpth} directories, and return
 # $lib if exist or undef unless exist.
 
-# ExtUtils::Liblist::ext() do similar job as this subroutine, but it
-# warns unnecessary messages.
+# ExtUtils::Liblist::ext() is not verbose by default any more and does much 
better job.
 sub search_lib {
     my ($lib) = @_;
+    my ($EXTRALIBS, $BSLOADLIBS, $LDLOADLIBS, $LD_RUN_PATH) = 
ExtUtils::Liblist->ext($lib);
+    return $EXTRALIBS || $LDLOADLIBS || search_lib_sub($lib);
+}
+
+# ExtUtils::Liblist::ext() do similar job as this subroutine, but it
+# warns unnecessary messages. -> TRG-1.38: Now it is used to search termcap 
library.
+sub search_lib_sub {
+    my ($lib) = @_;
     unless ($lib =~ /^-l/) {
        warn "search_lib: illegal arguments, \`$lib\'.\n";
        return undef;
     }
     my $libbase = 'lib' . substr($lib, 2) . $Config{lib_ext};
     my $libbase_so = 'lib' . substr($lib, 2) . "." . $Config{so};
-    foreach (split(' ', $Config{libpth})) {
+    foreach (@LIBPTH) {
        if (-f $_ . '/' . $libbase) {
-#          print "$_/$libbase\n";
-           print "Found \`$_/$libbase\'.\n";
            return $lib;
        } elsif (-f $_ . '/' . $libbase_so) {
-#          print "$_/$libbase_so\n";
-           print "Found \`$_/$libbase_so\'.\n";
            return $lib;
        }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/README 
new/Term-ReadLine-Gnu-1.40/README
--- old/Term-ReadLine-Gnu-1.37/README   2020-12-26 14:49:49.000000000 +0100
+++ new/Term-ReadLine-Gnu-1.40/README   2021-02-23 06:51:14.000000000 +0100
@@ -1,5 +1,4 @@
        -*- Indented-text -*-
-$Id: README 477 2014-12-14 05:35:36Z hayashi $
 
 Term::ReadLine::Gnu --- GNU Readline Library Wrapper Module
 
@@ -58,15 +57,15 @@
 Bugs:
        There may be many bugs in both programs and documents.
        Comments and bug reports are very welcome. Send me a E-Mail or
-       open a ticket on the bug tracker at rt.cpan.org;
+       open a ticket on the bug tracker on GitHub;
 
-       http://rt.cpan.org/Dist/Display.html?Queue=Term-ReadLine-Gnu
+       https://github.com/hirooih/perl-trg/issues
 
 Author:
        Hiroo Hayashi <hiroo.haya...@computer.org>
 
 Project Home Page
-       http://sourceforge.net/projects/perl-trg/
+       https://github.com/hirooih/perl-trg
 
 Revision History:
        See Changes.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/eg/fileman 
new/Term-ReadLine-Gnu-1.40/eg/fileman
--- old/Term-ReadLine-Gnu-1.37/eg/fileman       2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/eg/fileman       2021-02-23 06:51:40.000000000 
+0100
@@ -1,7 +1,5 @@
 #!/usr/local/bin/perl
 #
-# $Id: fileman 454 2014-03-02 14:28:30Z hayashi $
-#
 # This is a sample program of Term::ReadLine::Gnu perl module.  The
 # origin is a C program in the GNU Readline Libarary manual Edition
 # 2.1, "2.5.4 A Short Completion Example".  This program is under GPL.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/eg/perlsh 
new/Term-ReadLine-Gnu-1.40/eg/perlsh
--- old/Term-ReadLine-Gnu-1.37/eg/perlsh        2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/eg/perlsh        2021-02-23 06:52:13.000000000 
+0100
@@ -1,6 +1,5 @@
 #! /usr/local/bin/perl
 #
-#      $Id: perlsh 569 2020-04-23 13:32:23Z hayashi $  
 #
 #      Copyright (c) 1996 Hiroo Hayashi. All Rights Reserved.
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/eg/pftp 
new/Term-ReadLine-Gnu-1.40/eg/pftp
--- old/Term-ReadLine-Gnu-1.37/eg/pftp  2020-12-26 14:49:49.000000000 +0100
+++ new/Term-ReadLine-Gnu-1.40/eg/pftp  2021-02-23 06:52:20.000000000 +0100
@@ -1,7 +1,5 @@
 #! /usr/local/bin/perl
 #
-#      $Id: pftp 475 2014-12-13 03:20:00Z hayashi $
-#
 #      Copyright (c) 1997 Hiroo Hayashi.  All Rights Reserved.
 #
 #      This program is free software; you can redistribute it and/or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/eg/ptksh+ 
new/Term-ReadLine-Gnu-1.40/eg/ptksh+
--- old/Term-ReadLine-Gnu-1.37/eg/ptksh+        2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/eg/ptksh+        2021-02-23 06:52:29.000000000 
+0100
@@ -1,7 +1,5 @@
 #!/usr/local/bin/perl -w
 #
-# $Id: ptksh+ 475 2014-12-13 03:20:00Z hayashi $
-#
 # POD documentation after __END__
 
 # This program is contributed by Achim Bohnet.  It demonstrates how to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/t/00checkver.t 
new/Term-ReadLine-Gnu-1.40/t/00checkver.t
--- old/Term-ReadLine-Gnu-1.37/t/00checkver.t   2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/t/00checkver.t   2021-02-23 06:53:01.000000000 
+0100
@@ -1,8 +1,6 @@
 # -*- perl -*-
 #      00check.t - check versions
 #
-#      $Id: 00checkver.t 518 2016-05-18 16:33:37Z hayashi $
-#
 #      Copyright (c) 2008-2016 Hiroo Hayashi.  All rights reserved.
 #
 #      This program is free software; you can redistribute it and/or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/t/callback.t 
new/Term-ReadLine-Gnu-1.40/t/callback.t
--- old/Term-ReadLine-Gnu-1.37/t/callback.t     2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/t/callback.t     2021-02-23 06:53:06.000000000 
+0100
@@ -1,8 +1,6 @@
 # -*- perl -*-
 #      callback.t - Test script for Term::ReadLine:GNU callback function
 #
-#      $Id: callback.t 521 2016-05-19 06:39:31Z hayashi $
-#
 #      Copyright (c) 1999-2016 Hiroo Hayashi.  All rights reserved.
 #
 #      This program is free software; you can redistribute it and/or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/t/history.t 
new/Term-ReadLine-Gnu-1.40/t/history.t
--- old/Term-ReadLine-Gnu-1.37/t/history.t      2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/t/history.t      2021-02-23 06:53:10.000000000 
+0100
@@ -1,8 +1,6 @@
 # -*- perl -*-
 #      history.t --- Term::ReadLine:GNU History Library Test Script
 #
-#      $Id: history.t 524 2016-05-26 16:14:26Z hayashi $
-#
 #      Copyright (c) 1998-2016 Hiroo Hayashi.  All rights reserved.
 #
 #      This program is free software; you can redistribute it and/or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/t/readline.t 
new/Term-ReadLine-Gnu-1.40/t/readline.t
--- old/Term-ReadLine-Gnu-1.37/t/readline.t     2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/t/readline.t     2021-02-23 06:53:17.000000000 
+0100
@@ -1,8 +1,6 @@
 # -*- perl -*-
 #      readline.t - Test script for Term::ReadLine:GNU
 #
-#      $Id: readline.t 570 2020-04-23 15:05:14Z hayashi $
-#
 #      Copyright (c) 1996-2020 Hiroo Hayashi.  All rights reserved.
 #
 #      This program is free software; you can redistribute it and/or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/t/utf8_binary.t 
new/Term-ReadLine-Gnu-1.40/t/utf8_binary.t
--- old/Term-ReadLine-Gnu-1.37/t/utf8_binary.t  2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/t/utf8_binary.t  2021-02-23 06:53:52.000000000 
+0100
@@ -1,8 +1,6 @@
 # -*- perl -*-
 #      utf8_binary.t --- Term::ReadLine::Gnu UTF-8 binary string test script
 #
-#      $Id: utf8_binary.t 565 2019-01-14 04:48:22Z hayashi $
-#
 #      Copyright (c) 2016-2019 Hiroo Hayashi.  All rights reserved.
 #
 #      This program is free software; you can redistribute it and/or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/t/utf8_text.t 
new/Term-ReadLine-Gnu-1.40/t/utf8_text.t
--- old/Term-ReadLine-Gnu-1.37/t/utf8_text.t    2020-12-26 14:49:49.000000000 
+0100
+++ new/Term-ReadLine-Gnu-1.40/t/utf8_text.t    2021-02-23 06:53:58.000000000 
+0100
@@ -1,8 +1,6 @@
 # -*- perl -*-
 #      utf8_text.t --- Term::ReadLine::Gnu UTF-8 text string test script
 #
-#      $Id: utf8_text.t 565 2019-01-14 04:48:22Z hayashi $
-#
 #      Copyright (c) 2016-2019 Hiroo Hayashi.  All rights reserved.
 #
 #      This program is free software; you can redistribute it and/or
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Term-ReadLine-Gnu-1.37/typemap 
new/Term-ReadLine-Gnu-1.40/typemap
--- old/Term-ReadLine-Gnu-1.37/typemap  2020-12-26 14:49:49.000000000 +0100
+++ new/Term-ReadLine-Gnu-1.40/typemap  2021-02-23 06:51:31.000000000 +0100
@@ -1,6 +1,5 @@
 #      typemap for Term::ReadLine::Gnu
 #
-#      $Id: typemap 541 2016-06-07 14:22:03Z hayashi $
 
 const char *           T_PV
 CONST char *           T_PV

Reply via email to