aboutsummaryrefslogtreecommitdiff
path: root/ftp/lftp
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2018-06-13 11:32:16 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2018-06-13 11:32:16 +0000
commit1df02fba902657d3de69e0155f86ebe7ff48eeb6 (patch)
treece640721afe590bc07476e67f2fb3f7f0a385da2 /ftp/lftp
parent4f703a397f9fc29555dc2968a2837a2f934ee6d9 (diff)
downloadports-1df02fba902657d3de69e0155f86ebe7ff48eeb6.tar.gz
ports-1df02fba902657d3de69e0155f86ebe7ff48eeb6.zip
Fix readline detection on 10.x
(previous commit broke readline detection on 10.x where base readline resides in /usr)
Notes
Notes: svn path=/head/; revision=472303
Diffstat (limited to 'ftp/lftp')
-rw-r--r--ftp/lftp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index 0ce5e8ddb478..1afec41789b4 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -27,7 +27,11 @@ GNU_CONFIGURE= yes
# XXX Fix readline detection with a non-standard LOCALBASE
# To remove when m4/lftp_lib_readline.m4 is fixed upstream
+.if !exists(/usr/lib/libreadline.so)
CONFIGURE_ARGS+= --with-readline=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --with-readline=/usr
+.endif
PORTDOCS= AUTHORS BUGS ChangeLog FAQ FEATURES INSTALL \
MIRRORS NEWS README README.debug-levels README.modules \