1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Update to 2.6.9

- OPTIONS'ify

PR:		ports/86053
Submitted by:	Marcus Alves Grando <marcus@corp.grupos.com.br>
This commit is contained in:
Renato Botelho 2005-09-13 12:40:03 +00:00
parent dd7669fcb1
commit c69c3ca70e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142588
3 changed files with 23 additions and 6 deletions

View File

@ -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 @@ COMMENT= Command line editing library
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 @@ MLINKS= editline.3 el_init.3 \
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>

View File

@ -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

View File

@ -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");