aboutsummaryrefslogtreecommitdiff
path: root/ftp/lftp/Makefile
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-05-27 14:35:44 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-05-27 14:35:44 +0000
commit059cd3c3a089200257f200089d2f38671ba12084 (patch)
tree1c999b22409e683df4d2a563d88bc2ed4d429f15 /ftp/lftp/Makefile
parent602126b6089f334cd9d2818c540d890e203378c6 (diff)
Notes
Diffstat (limited to 'ftp/lftp/Makefile')
-rw-r--r--ftp/lftp/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index 3a30ff6b75e1..1fa2d1eb8f7e 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= lftp
-PORTVERSION= 3.5.10
-PORTREVISION= 1
+PORTVERSION= 3.5.11
CATEGORIES= ftp ipv6
MASTER_SITES= ftp://ftp.wiretapped.net/pub/mirrors/lftp/ \
ftp://ftp.wiretapped.net/pub/mirrors/lftp/old/ \
@@ -24,8 +23,6 @@ MAINTAINER= fm@cross-road.org.ua
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 +37,11 @@ OPTIONS= GNUTLS "With GnutTLS support" off \
.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