diff options
author | martymac <martymac@FreeBSD.org> | 2018-06-13 19:32:16 +0800 |
---|---|---|
committer | martymac <martymac@FreeBSD.org> | 2018-06-13 19:32:16 +0800 |
commit | d5333f4e038da6052ca13112f6a8395a5ecb9929 (patch) | |
tree | ce640721afe590bc07476e67f2fb3f7f0a385da2 | |
parent | fe1022eb8e004e6a4e06f965fb9c148aa2b8418e (diff) | |
download | freebsd-ports-gnome-d5333f4e038da6052ca13112f6a8395a5ecb9929.tar.gz freebsd-ports-gnome-d5333f4e038da6052ca13112f6a8395a5ecb9929.tar.zst freebsd-ports-gnome-d5333f4e038da6052ca13112f6a8395a5ecb9929.zip |
Fix readline detection on 10.x
(previous commit broke readline detection on 10.x where base readline resides
in /usr)
-rw-r--r-- | ftp/lftp/Makefile | 4 |
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 \ |