pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/p5-Text-Markdown Fix build with perl-5.26 using



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5e406d11f63d
branches:  trunk
changeset: 363410:5e406d11f63d
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jun 08 08:33:45 2017 +0000

description:
Fix build with perl-5.26 using
https://github.com/ppisar/text-markdown/commit/0a122ccf1ef6e642cf5415b82ae9b51124151d63

diffstat:

 textproc/p5-Text-Markdown/Makefile                  |   4 +---
 textproc/p5-Text-Markdown/distinfo                  |   3 ++-
 textproc/p5-Text-Markdown/patches/patch-Makefile.PL |  13 +++++++++++++
 3 files changed, 16 insertions(+), 4 deletions(-)

diffs (47 lines):

diff -r 5d9e9c556fd9 -r 5e406d11f63d textproc/p5-Text-Markdown/Makefile
--- a/textproc/p5-Text-Markdown/Makefile        Thu Jun 08 08:29:30 2017 +0000
+++ b/textproc/p5-Text-Markdown/Makefile        Thu Jun 08 08:33:45 2017 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2017/06/05 14:24:50 ryoon Exp $
-#
+# $NetBSD: Makefile,v 1.22 2017/06/08 08:33:45 wiz Exp $
 
 DISTNAME=      Text-Markdown-1.000031
 PKGNAME=       p5-${DISTNAME:S/000031/0.31/}
@@ -19,7 +18,6 @@
 PERL5_PACKLIST=                auto/Text/Markdown/.packlist
 USE_LANGUAGES=         # none
 
-REPLACE_PERL+= blib/script/Markdown.pl
 REPLACE_PERL+= script/Markdown.pl
 
 .include "../../lang/perl5/module.mk"
diff -r 5d9e9c556fd9 -r 5e406d11f63d textproc/p5-Text-Markdown/distinfo
--- a/textproc/p5-Text-Markdown/distinfo        Thu Jun 08 08:29:30 2017 +0000
+++ b/textproc/p5-Text-Markdown/distinfo        Thu Jun 08 08:33:45 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2015/11/04 01:59:52 agc Exp $
+$NetBSD: distinfo,v 1.11 2017/06/08 08:33:45 wiz Exp $
 
 SHA1 (Text-Markdown-1.000031.tar.gz) = cb68b6150d9d4d54fd2f257651d78589dcf63b99
 RMD160 (Text-Markdown-1.000031.tar.gz) = c5729937c61090f5474ce57c877fc4285d0f8c92
 SHA512 (Text-Markdown-1.000031.tar.gz) = 58bef4eba58572c4990849209005109a969bf404a7bc5dfbaae25aa1d0b89317ea9b412658180dcfd96b2c809d5c6900e2118838535dfa9cad6d9b45969bee05
 Size (Text-Markdown-1.000031.tar.gz) = 103428 bytes
+SHA1 (patch-Makefile.PL) = 4754419589bf3408dcae3c6b00b00e24d42bab4d
diff -r 5d9e9c556fd9 -r 5e406d11f63d textproc/p5-Text-Markdown/patches/patch-Makefile.PL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Text-Markdown/patches/patch-Makefile.PL       Thu Jun 08 08:33:45 2017 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/06/08 08:33:45 wiz Exp $
+
+Fix build with perl-5.26.
+https://github.com/ppisar/text-markdown/commit/0a122ccf1ef6e642cf5415b82ae9b51124151d63
+
+--- Makefile.PL.orig   2010-03-20 23:05:43.000000000 +0000
++++ Makefile.PL
+@@ -1,4 +1,5 @@
+ # Load the Module::Install bundled in ./inc/
++BEGIN { push @INC, '.'; }
+ use inc::Module::Install;
+ 
+ # Define metadata



Home | Main Index | Thread Index | Old Index