diff options
author | Matthew Hunt <mph@FreeBSD.org> | 2005-04-27 02:46:31 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 2005-04-27 02:46:31 +0000 |
commit | e80c719a2e3ba2ab2b3bbcd8555da47ef06b612d (patch) | |
tree | 7c63dd5edfe0395abfc0137e0de6ea39f12210cb /devel | |
parent | Fix build on 6.X (diff) |
Make this work with readline from ports.
PR: ports/79733
Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>,
Volker Stolz <vs>
Notes
Notes:
svn path=/head/; revision=134227
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-ReadLine-Gnu/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/p5-ReadLine-Gnu/Makefile b/devel/p5-ReadLine-Gnu/Makefile index 3fa52da55a5e..c4f48e08981b 100644 --- a/devel/p5-ReadLine-Gnu/Makefile +++ b/devel/p5-ReadLine-Gnu/Makefile @@ -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> |