summaryrefslogtreecommitdiff
path: root/devel/p5-Term-ReadLine
diff options
context:
space:
mode:
authorhe <he>2008-06-11 14:58:38 +0000
committerhe <he>2008-06-11 14:58:38 +0000
commit7053fc623611152db70e508601f13c3c7901693d (patch)
tree8df1fed972e745f3aff493f96205dec3349417a3 /devel/p5-Term-ReadLine
parent366df8e86828a5b6c96a92fc2d9fce4cd89e0240 (diff)
downloadpkgsrc-7053fc623611152db70e508601f13c3c7901693d.tar.gz
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 (limited to 'devel/p5-Term-ReadLine')
-rw-r--r--devel/p5-Term-ReadLine/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/p5-Term-ReadLine/Makefile b/devel/p5-Term-ReadLine/Makefile
index 5e9341e884e..61035050332 100644
--- a/devel/p5-Term-ReadLine/Makefile
+++ b/devel/p5-Term-ReadLine/Makefile
@@ -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 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
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"