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 Don't try to detect TERMCAP_LIB...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8f63e9cb80b5
branches:  trunk
changeset: 338740:8f63e9cb80b5
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Aug 29 19:45:07 2019 +0000

description:
Don't try to detect TERMCAP_LIB, let BROKEN_READLINE_DETECTION tell
us. Fixes at least Ubuntu builds. Tested on Ubuntu 16, NetBSD 8,
macOS 10.14.

diffstat:

 devel/p5-Term-ReadLine/Makefile                  |   4 +++-
 devel/p5-Term-ReadLine/distinfo                  |   3 ++-
 devel/p5-Term-ReadLine/patches/patch-Makefile.PL |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (49 lines):

diff -r 292c3ded267f -r 8f63e9cb80b5 devel/p5-Term-ReadLine/Makefile
--- a/devel/p5-Term-ReadLine/Makefile   Thu Aug 29 18:04:10 2019 +0000
+++ b/devel/p5-Term-ReadLine/Makefile   Thu Aug 29 19:45:07 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2019/08/11 13:20:25 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2019/08/29 19:45:07 schmonz Exp $
 
 DISTNAME=      Term-ReadLine-Gnu-1.36
 PKGNAME=       p5-${DISTNAME:S/-Gnu//}
@@ -17,6 +17,8 @@
 
 WRKSRC=                ${WRKDIR}/${DISTNAME:C/a$//}
 
+BROKEN_READLINE_DETECTION=     yes
+
 REPLACE_PERL+= Gnu/XS.pm
 
 .include "../../devel/readline/buildlink3.mk"
diff -r 292c3ded267f -r 8f63e9cb80b5 devel/p5-Term-ReadLine/distinfo
--- a/devel/p5-Term-ReadLine/distinfo   Thu Aug 29 18:04:10 2019 +0000
+++ b/devel/p5-Term-ReadLine/distinfo   Thu Aug 29 19:45:07 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.21 2019/01/26 07:42:00 wen Exp $
+$NetBSD: distinfo,v 1.22 2019/08/29 19:45:07 schmonz Exp $
 
 SHA1 (Term-ReadLine-Gnu-1.36.tar.gz) = 1c79b6b2f9b1256313b5bf262682e42ecf9d13ea
 RMD160 (Term-ReadLine-Gnu-1.36.tar.gz) = 4f7b090100a108e22f763931f334ff6911640c98
 SHA512 (Term-ReadLine-Gnu-1.36.tar.gz) = be576c45808744b9e6ae703ba170fc19f8cc4a63e6c8d74486159ff44c6763815bded11c7a414a491553e82041da2e4c5f197785e91a461118b4efa7fde240e9
 Size (Term-ReadLine-Gnu-1.36.tar.gz) = 128336 bytes
+SHA1 (patch-Makefile.PL) = 77076432207d0143f9707098ec975d8972de68c5
diff -r 292c3ded267f -r 8f63e9cb80b5 devel/p5-Term-ReadLine/patches/patch-Makefile.PL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Term-ReadLine/patches/patch-Makefile.PL  Thu Aug 29 19:45:07 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2019/08/29 19:45:07 schmonz Exp $
+
+Don't try to detect TERMCAP_LIB. Fixes at least Ubuntu builds.
+
+--- Makefile.PL.orig   2017-11-25 13:50:24.000000000 +0000
++++ Makefile.PL
+@@ -87,7 +87,7 @@ if ($Config{osname} eq 'os2') {
+       || &search_lib('-lncurses')
+       || &search_lib('-lcurses');
+ 
+-    unless ($TERMCAP_LIB) {
++    unless (1 || $TERMCAP_LIB) {
+       warn "Could not find neither libtermcap, libtinfo, libncurses, or libcurses.\n";
+       exit $err;
+     } 



Home | Main Index | Thread Index | Old Index