Opened 14 years ago

Closed 14 years ago

#10500 closed defect (fixed)

BUG: [lftp] fix advanced prompt

Reported by: danchr@… Owned by: yeled@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:

Description (last modified by yeled@…)

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
 description         Sophisticated file transfer program
@@ -17,14 +17,14 @@
 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${name}/ \
   ${name}/old/ \
           ${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} \

Change History (2)

comment:1 Changed 14 years ago by yeled@…

Description: modified (diff)

comment:2 Changed 14 years ago by yeled@…

Resolution: fixed
Status: newclosed


Note: See TracTickets for help on using tickets.