pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/p5-Term-ReadLine



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Thu Aug 29 19:45:07 UTC 2019

Modified Files:
        pkgsrc/devel/p5-Term-ReadLine: Makefile distinfo
Added Files:
        pkgsrc/devel/p5-Term-ReadLine/patches: patch-Makefile.PL

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 pkgsrc/devel/p5-Term-ReadLine/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/p5-Term-ReadLine/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/devel/p5-Term-ReadLine/patches/patch-Makefile.PL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/p5-Term-ReadLine/Makefile
diff -u pkgsrc/devel/p5-Term-ReadLine/Makefile:1.52 pkgsrc/devel/p5-Term-ReadLine/Makefile:1.53
--- pkgsrc/devel/p5-Term-ReadLine/Makefile:1.52 Sun Aug 11 13:20:25 2019
+++ pkgsrc/devel/p5-Term-ReadLine/Makefile      Thu Aug 29 19:45:07 2019
@@ -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 @@ MAKE_PARAMS+= --prefix=${BUILDLINK_PREFI
 
 WRKSRC=                ${WRKDIR}/${DISTNAME:C/a$//}
 
+BROKEN_READLINE_DETECTION=     yes
+
 REPLACE_PERL+= Gnu/XS.pm
 
 .include "../../devel/readline/buildlink3.mk"

Index: pkgsrc/devel/p5-Term-ReadLine/distinfo
diff -u pkgsrc/devel/p5-Term-ReadLine/distinfo:1.21 pkgsrc/devel/p5-Term-ReadLine/distinfo:1.22
--- pkgsrc/devel/p5-Term-ReadLine/distinfo:1.21 Sat Jan 26 07:42:00 2019
+++ pkgsrc/devel/p5-Term-ReadLine/distinfo      Thu Aug 29 19:45:07 2019
@@ -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

Added files:

Index: pkgsrc/devel/p5-Term-ReadLine/patches/patch-Makefile.PL
diff -u /dev/null pkgsrc/devel/p5-Term-ReadLine/patches/patch-Makefile.PL:1.1
--- /dev/null   Thu Aug 29 19:45:07 2019
+++ pkgsrc/devel/p5-Term-ReadLine/patches/patch-Makefile.PL     Thu Aug 29 19:45:07 2019
@@ -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