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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user