- updated to 0.13 see /usr/share/doc/packages/perl-Text-Markdown-Discount/Changes 0.13 - 473efac discount/configure.inc: include stdlib.h to find WORD/DWORD @Hugmeir - 89de73e discount/configure.sh: include strings.h to find bzero & memset @Hugmeir - 7c84bff add configure option "--with-fenced-code --with-dl=both" @Songmu - Rebase use-system-markdown.patch OBS-URL: https://build.opensuse.org/request/show/914015 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Markdown-Discount?expand=0&rev=5
36 lines
996 B
Diff
36 lines
996 B
Diff
Description: Use the markdown library provided by the libmarkdown2 package.
|
|
Author: Alessandro Ghedini <al3xbio@gmail.com>
|
|
Origin: vendor
|
|
Forwarded: not-needed
|
|
Last-Update: 2020-02-04
|
|
|
|
--- a/Makefile.PL
|
|
+++ b/Makefile.PL
|
|
@@ -57,12 +57,6 @@
|
|
|
|
|
|
|
|
-sub MY::postamble {
|
|
- return sprintf('
|
|
-$(MYEXTLIB):
|
|
- %s
|
|
-', qq{( cd $extdir; CC='cc -fPIC' sh configure.sh --with-fenced-code --with-dl=both; make )\n});
|
|
-}
|
|
|
|
WriteMakefile(
|
|
NAME => 'Text::Markdown::Discount',
|
|
@@ -71,10 +65,9 @@
|
|
($] >= 5.005 ?
|
|
(ABSTRACT_FROM => 'lib/Text/Markdown/Discount.pm',
|
|
AUTHOR => 'Masayoshi Sekimura <sekimura@cpan.org>') : ()),
|
|
- LIBS => '-L' . $extdir,
|
|
- INC => '-I. -I' . $extdir,
|
|
- MYEXTLIB => $myextlib,
|
|
- clean => { FILES => $clean_files },
|
|
+ LIBS => '-lmarkdown',
|
|
+ INC => '-I.',
|
|
+
|
|
META_MERGE => {
|
|
'meta-spec' => { version => 2 },
|
|
resources => {
|