ports/86053: Update port: devel/libedit to 2.6.9
Marcus Alves Grando
marcus at corp.grupos.com.br
Tue Sep 13 03:50:20 UTC 2005
>Number: 86053
>Category: ports
>Synopsis: Update port: devel/libedit to 2.6.9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 13 03:50:16 GMT 2005
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list