Wed Jun 11 14:58:38 2008 UTC ()
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.


(he)
diff -r1.18 -r1.19 pkgsrc/devel/p5-Term-ReadLine/Makefile

cvs diff -r1.18 -r1.19 pkgsrc/devel/p5-Term-ReadLine/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-Term-ReadLine/Attic/Makefile 2006/07/12 17:22:38 1.18
+++ pkgsrc/devel/p5-Term-ReadLine/Attic/Makefile 2008/06/11 14:58:38 1.19
@@ -1,23 +1,25 @@ @@ -1,23 +1,25 @@
1# $NetBSD: Makefile,v 1.18 2006/07/12 17:22:38 heinz Exp $ 1# $NetBSD: Makefile,v 1.19 2008/06/11 14:58:38 he Exp $
2 2
3DISTNAME= Term-ReadLine-Gnu-1.16 3DISTNAME= Term-ReadLine-Gnu-1.16
4PKGNAME= p5-${DISTNAME:S/-Gnu//} 4PKGNAME= p5-${DISTNAME:S/-Gnu//}
5SVR4_PKGNAME= p5trl 5SVR4_PKGNAME= p5trl
6CATEGORIES= devel perl5 6CATEGORIES= devel perl5
7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Term/} 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Term/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://search.cpan.org/dist/Term-ReadLine-Gnu/ 10HOMEPAGE= http://search.cpan.org/dist/Term-ReadLine-Gnu/
11COMMENT= Interface to the GNU Readline Library 11COMMENT= Interface to the GNU Readline Library
12 12
13PKG_INSTALLATION_TYPES= overwrite pkgviews 13PKG_INSTALLATION_TYPES= overwrite pkgviews
14 14
15USE_GNU_READLINE= yes 15USE_GNU_READLINE= yes
16PERL5_PACKLIST= auto/Term/ReadLine/Gnu/.packlist 16PERL5_PACKLIST= auto/Term/ReadLine/Gnu/.packlist
17 17
 18MAKE_PARAMS+= --includedir=${PREFIX}/include --libdir=${PREFIX}/lib
 19
18REPLACE_PERL+= Gnu/XS.pm Gnu/euc_jp.pm 20REPLACE_PERL+= Gnu/XS.pm Gnu/euc_jp.pm
19 21
20.include "../../devel/readline/buildlink3.mk" 22.include "../../devel/readline/buildlink3.mk"
21.include "../../devel/ncurses/buildlink3.mk" 23.include "../../devel/ncurses/buildlink3.mk"
22.include "../../lang/perl5/module.mk" 24.include "../../lang/perl5/module.mk"
23.include "../../mk/bsd.pkg.mk" 25.include "../../mk/bsd.pkg.mk"