Make this work with readline from ports.

PR:		ports/79733
Submitted by:	Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>,
		Volker Stolz <vs>
This commit is contained in:
Matthew Hunt 2005-04-27 02:46:31 +00:00
parent a8d970927e
commit e80c719a2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134227

View file

@ -18,6 +18,13 @@ COMMENT= Perl 5 module that allows Term::ReadLine to use GNU readline
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/lib/libreadline.so)
CONFIGURE_ARGS+=--includedir=${LOCALBASE}/include
LIB_DEPENDS+= readline.5:${PORTSDIR}/deve/readline
.endif
MAN3= Term::ReadLine::Gnu.3
.include <bsd.port.mk>
.include <bsd.port.post.mk>