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-Discount cwrappers don't lik...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6acc33f0cf80
branches:  trunk
changeset: 359777:6acc33f0cf80
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Mar 17 17:30:33 2017 +0000

description:
cwrappers don't like piping to cpp. Work around this.

diffstat:

 textproc/p5-Text-Markdown-Discount/Makefile                  |   4 ++-
 textproc/p5-Text-Markdown-Discount/distinfo                  |   3 +-
 textproc/p5-Text-Markdown-Discount/patches/patch-Makefile.PL |  15 ++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (52 lines):

diff -r ca48c30ec1d5 -r 6acc33f0cf80 textproc/p5-Text-Markdown-Discount/Makefile
--- a/textproc/p5-Text-Markdown-Discount/Makefile       Fri Mar 17 16:56:47 2017 +0000
+++ b/textproc/p5-Text-Markdown-Discount/Makefile       Fri Mar 17 17:30:33 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2016/06/08 19:24:38 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2017/03/17 17:30:33 schmonz Exp $
 #
 
 DISTNAME=              Text-Markdown-Discount-0.11
@@ -12,6 +12,8 @@
 COMMENT=               Convert Markdown to (X)HTML
 LICENSE=               ${PERL5_LICENSE}
 
+BUILD_DEPENDS+=                tradcpp-[0-9]*:../../devel/tradcpp
+
 PERL5_PACKLIST=                auto/Text/Markdown/Discount/.packlist
 USE_LANGUAGES=         c
 
diff -r ca48c30ec1d5 -r 6acc33f0cf80 textproc/p5-Text-Markdown-Discount/distinfo
--- a/textproc/p5-Text-Markdown-Discount/distinfo       Fri Mar 17 16:56:47 2017 +0000
+++ b/textproc/p5-Text-Markdown-Discount/distinfo       Fri Mar 17 17:30:33 2017 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.7 2015/11/04 01:59:52 agc Exp $
+$NetBSD: distinfo,v 1.8 2017/03/17 17:30:33 schmonz Exp $
 
 SHA1 (Text-Markdown-Discount-0.11.tar.gz) = cd0b2bdc3479f90a0f3e68421984bb47f015d1d2
 RMD160 (Text-Markdown-Discount-0.11.tar.gz) = a4484f181746789b7bfb7c0faa95011bb374e383
 SHA512 (Text-Markdown-Discount-0.11.tar.gz) = 0f748330f76cfd5153f9bcd8bb9f1f67732657a2ee511a7ca7f0f4d9e29a085ad97373b8716d7c7436d2b6f262e8d8223393664a9c079c63b16ea417cb5c0614
 Size (Text-Markdown-Discount-0.11.tar.gz) = 177087 bytes
 SHA1 (patch-MANIFEST) = 3fcc9d2a3e827d3df3c80c13727a4cc89a62feb0
+SHA1 (patch-Makefile.PL) = a3df84ae13d1c901de1812ddc3425c66fb355b5d
 SHA1 (patch-configure.sh) = 244ae32f085b4587fc777aaabcc63735f74cef43
 SHA1 (patch-discount_Makefile.in) = 40bbbb1ef6c0a38d04cbfab618480b504614a125
diff -r ca48c30ec1d5 -r 6acc33f0cf80 textproc/p5-Text-Markdown-Discount/patches/patch-Makefile.PL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Text-Markdown-Discount/patches/patch-Makefile.PL      Fri Mar 17 17:30:33 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.PL,v 1.1 2017/03/17 17:30:33 schmonz Exp $
+
+cwrappers don't like piping to cpp. Work around this.
+
+--- Makefile.PL.orig   2013-08-09 20:06:59.000000000 +0000
++++ Makefile.PL
+@@ -61,7 +61,7 @@ sub MY::postamble {
+     return sprintf('
+ $(MYEXTLIB):
+       %s
+-', qq{( cd $extdir; CC='cc -fPIC' sh configure.sh; make )\n});
++', qq{( cd $extdir; CC='cc -fPIC' AC_CPP_PROG='tradcpp' sh configure.sh; make )\n});
+ }
+ 
+ WriteMakefile(



Home | Main Index | Thread Index | Old Index