Description: Use the markdown library provided by the libmarkdown2 package.
Origin: vendor
Forwarded: not-needed
Author: Alessandro Ghedini <al3xbio@gmail.com>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2023-01-04

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -69,12 +69,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',
@@ -83,10 +77,8 @@
     ($] >= 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 => {
