svn commit: r472303 - head/ftp/lftp
Ganael LAPLANCHE
martymac at FreeBSD.org
Wed Jun 13 11:32:17 UTC 2018
Author: martymac
Date: Wed Jun 13 11:32:16 2018
New Revision: 472303
URL: https://svnweb.freebsd.org/changeset/ports/472303
Log:
Fix readline detection on 10.x
(previous commit broke readline detection on 10.x where base readline resides
in /usr)
Modified:
head/ftp/lftp/Makefile
Modified: head/ftp/lftp/Makefile
==============================================================================
--- head/ftp/lftp/Makefile Wed Jun 13 11:14:11 2018 (r472302)
+++ head/ftp/lftp/Makefile Wed Jun 13 11:32:16 2018 (r472303)
@@ -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 \
More information about the svn-ports-head
mailing list