ports/112229: [PATCH] ftp/lftp: use readline from base when possible

Yuri Pankov yuri.pankov at mail.ru
Sun Apr 29 09:10:08 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list