summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/perl-text-markdown-discount-unbundle.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-28 14:57:16 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-28 14:57:16 +0100
commit1da3d2a3a1b53bdd71774194f4afc13f35bb18e3 (patch)
treee0c55b0b7a159a139de1eec16e5c9e111505d279 /gnu/packages/patches/perl-text-markdown-discount-unbundle.patch
parentc397dfca033c2212abdd012a28c562cc3eaa942c (diff)
downloadguix-patches-1da3d2a3a1b53bdd71774194f4afc13f35bb18e3.tar
guix-patches-1da3d2a3a1b53bdd71774194f4afc13f35bb18e3.tar.gz
gnu: perl-markdown-discount: Use a shorter patch file name.
* gnu/packages/patches/perl-text-markdown-discount-use-system-markdown.patch: Rename to... * gnu/packages/patches/perl-text-markdown-discount-unbundle.patch: ... this. * gnu/packages/markup.scm (perl-text-markdown-discount): Adjust accordingly.
Diffstat (limited to 'gnu/packages/patches/perl-text-markdown-discount-unbundle.patch')
-rw-r--r--gnu/packages/patches/perl-text-markdown-discount-unbundle.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/patches/perl-text-markdown-discount-unbundle.patch b/gnu/packages/patches/perl-text-markdown-discount-unbundle.patch
new file mode 100644
index 0000000000..e0df632a04
--- /dev/null
+++ b/gnu/packages/patches/perl-text-markdown-discount-unbundle.patch
@@ -0,0 +1,32 @@
+Description: Use the markdown library provided by the libmarkdown2 package.
+Author: Alessandro Ghedini <al3xbio@gmail.com>
+Origin: vendor
+Forwarded: not-needed
+Last-Update: 2012-01-01
+
+--- 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; make )\n});
+-}
+
+ WriteMakefile(
+ NAME => 'Text::Markdown::Discount',
+@@ -71,8 +65,6 @@
+ ($] >= 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.',
+ );