pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Term-ReadLine Fix a long-standing bug: if thi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39742d0d5daa
branches:  trunk
changeset: 543258:39742d0d5daa
user:      he <he%pkgsrc.org@localhost>
date:      Wed Jun 11 14:58:38 2008 +0000

description:
Fix a long-standing bug: if this package is installed on NetBSD with
readline emulation, the GNU readline library which this module depends
on would not be picked up, causing "perl -d -e '1;'" to fail to start
the perl debugger because it could not find the rl_initialize function.
Instead, point includes and libs into ${PREFIX}, so that we have a chance
of picking up the proper GNU readline library.

diffstat:

 devel/p5-Term-ReadLine/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 9ea3f27cfe60 -r 39742d0d5daa devel/p5-Term-ReadLine/Makefile
--- a/devel/p5-Term-ReadLine/Makefile   Wed Jun 11 14:33:07 2008 +0000
+++ b/devel/p5-Term-ReadLine/Makefile   Wed Jun 11 14:58:38 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/07/12 17:22:38 heinz Exp $
+# $NetBSD: Makefile,v 1.19 2008/06/11 14:58:38 he Exp $
 
 DISTNAME=      Term-ReadLine-Gnu-1.16
 PKGNAME=       p5-${DISTNAME:S/-Gnu//}
@@ -15,6 +15,8 @@
 USE_GNU_READLINE=      yes
 PERL5_PACKLIST=                auto/Term/ReadLine/Gnu/.packlist
 
+MAKE_PARAMS+=  --includedir=${PREFIX}/include --libdir=${PREFIX}/lib
+
 REPLACE_PERL+= Gnu/XS.pm Gnu/euc_jp.pm
 
 .include "../../devel/readline/buildlink3.mk"



Home | Main Index | Thread Index | Old Index