Opened 18 years ago
Last modified 18 years ago
#10500 closed defect
BUG: [lftp] fix advanced prompt — at Initial Version
Reported by: | danchr@… | Owned by: | yeled@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.2 |
Keywords: | Cc: | ||
Port: |
Description
Apparently lftp is incompatible with the version of readline in DarwinPorts. Using it with the line below in ~/.lftp/rc resulted in various issues in the command prompt.
set cmd:prompt '\[\e[0;34m\]\S\?:\s \[\e[1;34m\][\h:\w] \u#\[\e[0m\] '
The attached patch fixes this by removing the dependency on readline and forcing the usage of the readline distributed within lftp. While at it, it updates lftp to version 3.5.4.
--- Portfile.bak 2006-08-21 22:19:41.000000000 +0200 +++ Portfile 2006-08-21 22:20:20.000000000 +0200 @@ -2,7 +2,7 @@
PortSystem 1.0 name lftp
-version 3.5.1 +version 3.5.4
categories net maintainers yeled@… description Sophisticated file transfer program
@@ -17,14 +17,14 @@
homepage http://lftp.yar.ru/ platforms darwin
-depends_lib port:expat port:gettext port:libiconv port:ncurses port:readline +depends_lib port:expat port:gettext port:libiconv port:ncurses
master_sites ftp://ftp.wiretapped.net/pub/mirrors/${name}/ \
ftp://ftp.wiretapped.net/pub/mirrors/${name}/old/ \
ftp://ftp.cs.tu-berlin.de/pub/net/ftp/${name}/ \ http://ftp.yars.free.net/pub/source/${name}/
use_bzip2 yes
-checksums md5 c6d48782cdad4759000bf7cd24555723 +checksums md5 1c7f49822793d03588fd4080c40281a7
default_variants +tls
@@ -44,7 +44,7 @@
configure.args --mandir=${prefix}/share/man \
--with-pic --disable-share --enable-static --without-openssl \
- --without-included-readline --without-gnutls
+ --with-included-readline --without-gnutls
post-destroot { xinstall -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -v -W ${worksrcpath} \