diff options
author | mph <mph@FreeBSD.org> | 2005-04-27 10:46:31 +0800 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 2005-04-27 10:46:31 +0800 |
commit | c782c844538578979c05d15bd8ab038c8eb2f485 (patch) | |
tree | 87115ab831e72373128f0953997a2408286fa2ce /devel | |
parent | 240c1eba2214cde529c67780ec179f281bd2213c (diff) | |
download | freebsd-ports-gnome-c782c844538578979c05d15bd8ab038c8eb2f485.tar.gz freebsd-ports-gnome-c782c844538578979c05d15bd8ab038c8eb2f485.tar.zst freebsd-ports-gnome-c782c844538578979c05d15bd8ab038c8eb2f485.zip |
Make this work with readline from ports.
PR: ports/79733
Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>,
Volker Stolz <vs>
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> |