Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2018 11:32:17 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472303 - head/ftp/lftp
Message-ID:  <201806131132.w5DBWHhi076429@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806131132.w5DBWHhi076429>