Date: Sat, 21 Apr 2007 16:17:38 +0800 (CST) From: Rong-En Fan <rafan@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: fm@cross-road.org.ua Subject: ports/111981: [PATCH] ftp/lftp: make readline dependency optional Message-ID: <200704210817.l3L8Hc7O003706@svm.csie.ntu.edu.tw> Resent-Message-ID: <200704210820.l3L8K3iU017027@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 111981 >Category: ports >Synopsis: [PATCH] ftp/lftp: make readline dependency optional >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: Sat Apr 21 08:20:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 6.2-STABLE amd64 >Organization: NTU CSIE >Environment: >Description: After Apr 18, 2007 6.x has readline 5.2 in base. On 7.x, we have it since last Dec. Therefore, make readline dependency optional. 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 --- Index: Makefile =================================================================== RCS file: /big/freebsd-cvsup/ncvs/ports/ftp/lftp/Makefile,v retrieving revision 1.116 diff -u -u -r1.116 Makefile --- Makefile 11 Apr 2007 20:17:20 -0000 1.116 +++ Makefile 21 Apr 2007 08:16:30 -0000 @@ -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 @@ -40,6 +38,11 @@ .include <bsd.port.pre.mk> +.if ${OSVERSION} < 602109 || (${OSVERSION} > 700000 && ${OSVERSION} < 700029) +BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline +RUN_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline +.endif + .if defined(WITH_GNUTLS) CONFIGURE_ARGS+= --with-gnutls LIB_DEPENDS+= gnutls:${PORTSDIR}/security/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?200704210817.l3L8Hc7O003706>