Fix readline detection on 10.x

(previous commit broke readline detection on 10.x where base readline resides
in /usr)
This commit is contained in:
Ganael LAPLANCHE
2018-06-13 11:32:16 +00:00
parent 4f703a397f
commit 1df02fba90
+4
View File
@@ -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 \