Date: Sun, 29 Apr 2007 11:48:36 +0400 (MSD) From: Yuri Pankov <yuri.pankov@mail.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: fm@cross-road.org.ua Subject: ports/112229: [PATCH] ftp/lftp: use readline from base when possible Message-ID: <200704290748.l3T7ma8v051050@darklight.local> Resent-Message-ID: <200704290910.l3T9A77I006099@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 112229 >Category: ports >Synopsis: [PATCH] ftp/lftp: use readline from base when possible >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Apr 29 09:10:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Yuri Pankov >Release: FreeBSD 7.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD darklight.local 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Sat Apr 28 07:36:33 MSD 2007 >Description: With import of readline 5.2 to HEAD and RELENG_6, it's possible to use readline from base. For HEAD, closest version after readline 5.2 import is used. Port maintainer (fm@cross-road.org.ua) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- lftp-3.5.10_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/ftp/lftp.orig/Makefile /usr/ports/ftp/lftp/Makefile --- /usr/ports/ftp/lftp.orig/Makefile Sun Apr 29 10:05:45 2007 +++ /usr/ports/ftp/lftp/Makefile Sun Apr 29 10:45:24 2007 @@ -24,8 +24,6 @@ COMMENT= Shell-like command line ftp client LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 -BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline -RUN_DEPENDS= ${BUILD_DEPENDS} USE_ICONV= yes USE_BZIP2= yes @@ -39,6 +37,13 @@ NLS "With i18n support" on .include <bsd.port.pre.mk> + +.if ${OSVERSION} < 700029 +.if ${OSVERSION} < 602109 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline +RUN_DEPENDS= ${BUILD_DEPENDS} +.endif +.endif .if defined(WITH_GNUTLS) CONFIGURE_ARGS+= --with-gnutls --- lftp-3.5.10_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704290748.l3T7ma8v051050>