diff options
author | garga <garga@FreeBSD.org> | 2005-09-13 20:40:03 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2005-09-13 20:40:03 +0800 |
commit | e1e785f79c8c528f9edab77709734dfa7a4b565f (patch) | |
tree | 911b2781a7e8d5f08a45b2fc997ef64fbc729563 /devel/libedit | |
parent | f0f7299a60aee027727c1e6fb45bcab2ebd0809d (diff) | |
download | freebsd-ports-gnome-e1e785f79c8c528f9edab77709734dfa7a4b565f.tar.gz freebsd-ports-gnome-e1e785f79c8c528f9edab77709734dfa7a4b565f.tar.zst freebsd-ports-gnome-e1e785f79c8c528f9edab77709734dfa7a4b565f.zip |
- Update to 2.6.9
- OPTIONS'ify
PR: ports/86053
Submitted by: Marcus Alves Grando <marcus@corp.grupos.com.br>
Diffstat (limited to 'devel/libedit')
-rw-r--r-- | devel/libedit/Makefile | 14 | ||||
-rw-r--r-- | devel/libedit/distinfo | 4 | ||||
-rw-r--r-- | devel/libedit/files/patch-makelist | 11 |
3 files changed, 23 insertions, 6 deletions
diff --git a/devel/libedit/Makefile b/devel/libedit/Makefile index eb9dd33d5a65..21812fba59ca 100644 --- a/devel/libedit/Makefile +++ b/devel/libedit/Makefile @@ -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> diff --git a/devel/libedit/distinfo b/devel/libedit/distinfo index 48e4a35871ac..984e83f3e632 100644 --- a/devel/libedit/distinfo +++ b/devel/libedit/distinfo @@ -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 diff --git a/devel/libedit/files/patch-makelist b/devel/libedit/files/patch-makelist new file mode 100644 index 000000000000..da82137a8109 --- /dev/null +++ b/devel/libedit/files/patch-makelist @@ -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"); |