Subject: pkg/25163: updated package: devel/p5-Term-ReadLine
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <adrianp@stindustries.net>
List: pkgsrc-bugs
Date: 04/13/2004 10:52:03
>Number:         25163
>Category:       pkg
>Synopsis:       updated package: devel/p5-Term-ReadLine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 13 10:53:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Adrian Portelli
>Release:        1.6.1
>Organization:
STIndustries
>Environment:
NetBSD otto.stindustries.org.uk 1.6.1 NetBSD 1.6.1 (OTTO) #1: Sun Feb 29 10:31:29 GMT 2004     adrianp@otto.stindustries.org.uk:/usr/src/sys/arch/i386/compile/OTTO i386
>Description:
p5-Term-ReadLine is at v1.12 in pkgsrc and 1.14 is now available.

From the ChangeLog:

1.14  2003-03-16
	- kludge not to cause segmentation fault on Perl 5.8.0
          w/PerlIO and FileHandle (ex. CPAN.pm)
	- clean up Makefile.PL (use strict, fix for HPUX and FreeBSD,
          fix typo, etc.)

1.13  2002-07-27
	- readline-4.2 support
	    new variables
		rl_completion_suppress_append
		rl_completion_mark_symlink_dirs
	    new functions
		rl_replace_line()
		rl_completion_mode()
	- tgetstr() calls tput() to apply padding information.  No
	  more "$<2>" on prompt.
	- shadow_redisplay() with ornament works on xterm.

>How-To-Repeat:
cd devel/p5-Term-ReadLine && make show-var VARNAME=PKGNAME
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/p5-Term-ReadLine/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile    11 Dec 2003 17:27:24 -0000      1.8
+++ Makefile    13 Apr 2004 10:47:17 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.8 2003/12/11 17:27:24 erh Exp $
 
-DISTNAME=      Term-ReadLine-Gnu-1.12
-PKGNAME=       p5-Term-ReadLine-1.12
+DISTNAME=      Term-ReadLine-Gnu-1.14
+PKGNAME=       p5-Term-ReadLine-1.14
 SVR4_PKGNAME=  p5trl
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Term/}
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/p5-Term-ReadLine/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- distinfo    31 May 2002 09:52:05 -0000      1.5
+++ distinfo    13 Apr 2004 10:47:17 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.5 2002/05/31 09:52:05 uebayasi Exp $
 
-SHA1 (Term-ReadLine-Gnu-1.12.tar.gz) = d0121c6d4a0831466f1ee81e099a5ba957c04a7a
-Size (Term-ReadLine-Gnu-1.12.tar.gz) = 63886 bytes
-SHA1 (patch-aa) = 20d31c4553675d461722185e720b1d21b6fc2c9c
+SHA1 (Term-ReadLine-Gnu-1.14.tar.gz) = 7f46e81074a5059390fb1730e56cb139ccac4906
+Size (Term-ReadLine-Gnu-1.14.tar.gz) = 65140 bytes
+SHA1 (patch-aa) = c9e4cb2d4ff9062a75e67b8866f39bb2f58d2664
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/devel/p5-Term-ReadLine/patches/patch-aa,v
retrieving revision 1.5
diff -u -r1.5 patch-aa
--- patches/patch-aa    31 May 2002 09:52:05 -0000      1.5
+++ patches/patch-aa    13 Apr 2004 10:47:17 -0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.5 2002/05/31 09:52:05 uebayasi Exp $
+$NetBSD$
 
---- Makefile.PL.orig   Mon Feb  4 10:37:19 2002
-+++ Makefile.PL        Mon Feb  4 10:37:37 2002
-@@ -79,7 +79,7 @@
- close(F);
+--- Makefile.PL.orig   Tue Apr 13 11:45:33 2004
++++ Makefile.PL        Tue Apr 13 11:46:59 2004
+@@ -155,7 +155,7 @@
+     close(F);
  
- # compile it
--$comp_cmd = "$Config{cc} $RLINC $Config{ccflags} $defs $frlver -o rlver $RLLIB $ldflags $Config{ldflags} $libs";
-+$comp_cmd = "$Config{cc} $RLINC $Config{ccflags} $defs $frlver -o rlver $RLLIB $ldflags $Config{ldflags} $ENV{LDFLAGS} $libs";
- print $comp_cmd, "\n";
- system($comp_cmd);
- if ($?) {
+     # compile it
+-    my $comp_cmd = "$Config{cc} $RLINC $Config{ccflags} $defs $frlver -o rlver $RLLIB $lddflags $Config{ldflags} $libs";
++    my $comp_cmd = "$Config{cc} $RLINC $Config{ccflags} $defs $frlver -o rlver $RLLIB $lddflags $Config{ldflags} $ENV{LDFLAGS} $libs";
+     print $comp_cmd, "\n";
+     system($comp_cmd);
+     if ($?) {
>Release-Note:
>Audit-Trail:
>Unformatted: