From marcus@marcus.grupos.com.br  Tue Sep 13 03:49:39 2005
Return-Path: <marcus@marcus.grupos.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 38AE016A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Sep 2005 03:49:39 +0000 (GMT)
	(envelope-from marcus@marcus.grupos.com.br)
Received: from mail.grupos.com.br (mail.grupos.com.br [200.203.183.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A371343D45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Sep 2005 03:49:38 +0000 (GMT)
	(envelope-from marcus@marcus.grupos.com.br)
Received: from corp.grupos.com.br (unknown [150.162.166.55])
	by mail.grupos.com.br (Postfix) with ESMTP id 72E4A11E018
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Sep 2005 00:49:37 -0300 (BRT)
Received: from marcus.grupos.com.br (unknown [150.162.166.51])
	by corp.grupos.com.br (Postfix) with ESMTP id 51F5654E0
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Sep 2005 00:49:37 -0300 (BRT)
Received: from marcus.grupos.com.br (localhost [127.0.0.1])
	by marcus.grupos.com.br (8.13.4/8.13.4) with ESMTP id j8D3naWt013928
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Sep 2005 00:49:36 -0300 (BRT)
	(envelope-from marcus@marcus.grupos.com.br)
Received: (from root@localhost)
	by marcus.grupos.com.br (8.13.4/8.13.4/Submit) id j8D3naHn013927;
	Tue, 13 Sep 2005 00:49:36 -0300 (BRT)
	(envelope-from marcus)
Message-Id: <200509130349.j8D3naHn013927@marcus.grupos.com.br>
Date: Tue, 13 Sep 2005 00:49:36 -0300 (BRT)
From: Marcus Alves Grando <marcus@corp.grupos.com.br>
Reply-To: Marcus Alves Grando <marcus@corp.grupos.com.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: devel/libedit to 2.6.9
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         86053
>Category:       ports
>Synopsis:       Update port: devel/libedit to 2.6.9
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 13 03:50:16 GMT 2005
>Closed-Date:    Tue Sep 13 12:42:23 GMT 2005
>Last-Modified:  Tue Sep 13 12:42:23 GMT 2005
>Originator:     Marcus Alves Grando
>Release:        FreeBSD 6.0-BETA4 i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD marcus.grupos.com.br 6.0-BETA4 FreeBSD 6.0-BETA4 #44: Sun Sep 11 23:00:33 BRT 2005 root@marcus.grupos.com.br:/usr/obj/usr/src/sys/MARCUS i386


	
>Description:

- Update to 2.6.9
- Add OPTION to Enable readline compatibility
- Change tr to use [:lower:] and [:uppper:] because some locales produce wrong files .h

	
>How-To-Repeat:
	
>Fix:

	

--- libedit.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/libedit/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	23 Nov 2004 11:29:27 -0000	1.8
+++ Makefile	13 Sep 2005 03:45:19 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	libedit
-PORTVERSION=	2.6.7
-PORTREVISION=	1
+PORTVERSION=	2.6.9
 CATEGORIES=	devel
 MASTER_SITES=	ftp://ftp.astron.com/pub/libedit/ \
 		http://www.canonware.com/download/libedit/
@@ -17,9 +16,10 @@
 
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--disable-readline
 INSTALLS_SHLIB=	yes
 
+OPTIONS=	READLINE	"Enable readline compatibility"	off
+
 MAN3=		editline.3
 MAN5=		editrc.5
 MLINKS=		editline.3 el_init.3 \
@@ -41,8 +41,14 @@
 		editline.3 history.3
 MANCOMPRESSED=	no
 
+.include <bsd.port.pre.mk>
+
+.if !defined(WITH_READLINE)
+CONFIGURE_ARGS+=	--disable-readline
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|CFLAGS -O|CFLAGS|g ; \
 		 s|MAJOR="2"|MAJOR="5"|g' ${WRKSRC}/configure
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/libedit/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	29 Jan 2004 07:23:07 -0000	1.3
+++ distinfo	13 Sep 2005 03:45:19 -0000
@@ -1,2 +1,2 @@
-MD5 (libedit-2.6.7.tar.gz) = 6640a3d3d58f0ce1d8c69cfd5cc5a517
-SIZE (libedit-2.6.7.tar.gz) = 150783
+MD5 (libedit-2.6.9.tar.gz) = a007a8134d9daf4340c985085441ca6d
+SIZE (libedit-2.6.9.tar.gz) = 156318
Index: files/patch-makelist
===================================================================
RCS file: files/patch-makelist
diff -N files/patch-makelist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-makelist	13 Sep 2005 03:45:19 -0000
@@ -0,0 +1,11 @@
+--- makelist.orig	Tue Sep 13 00:37:41 2005
++++ makelist	Tue Sep 13 00:38:08 2005
+@@ -145,7 +145,7 @@
+ #
+ -fh)
+     cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
+-    sort | tr '[a-z]' '[A-Z]' | $AWK '
++    sort | tr '[:lower:]' '[:upper:]' | $AWK '
+ 	BEGIN {
+ 	    printf("/* Automatically generated file, do not edit */\n");
+ 	    printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");
--- libedit.patch ends here ---


>Release-Note:
>Audit-Trail:

From: Greg Lewis <glewis@eyesbeyond.com>
To: Marcus Alves Grando <marcus@corp.grupos.com.br>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/86053: Update port: devel/libedit to 2.6.9
Date: Mon, 12 Sep 2005 22:42:50 -0600

 On Tue, Sep 13, 2005 at 12:49:36AM -0300, Marcus Alves Grando wrote:
 > - Add OPTION to Enable readline compatibility
 
 When you enable this option it installs headers, libraries and man
 pages which mimic those installed by readline.  You don't have an
 update for the packing list which reflects these new files.  In
 addition, this conflicts with the systems version of libreadline and
 with the devel/readline port, which is also not included in the
 update.  I think this change should not be included in the update
 due to the conflicts, this option was turned off in the original port
 for a reason.
 
 The rest of the update looks good though :).
 
 -- 
 Greg Lewis                          Email   : glewis@eyesbeyond.com
 Eyes Beyond                         Web     : http://www.eyesbeyond.com
 Information Technology              FreeBSD : glewis@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: garga 
Responsible-Changed-When: Tue Sep 13 11:55:48 GMT 2005 
Responsible-Changed-Why:  
Grabbed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86053 
State-Changed-From-To: open->closed 
State-Changed-By: garga 
State-Changed-When: Tue Sep 13 12:42:15 GMT 2005 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86053 
>Unformatted:
