From 7ee027ef0b6615ebcbf38dcf09fcca5442433e6b Mon Sep 17 00:00:00 2001 From: svenper Date: Mon, 26 Aug 2019 00:44:44 +0200 Subject: [PATCH] New package: perl-XML-LibXSLT-1.96 --- .../fix-cross-remove-have_library.patch | 28 +++++++++++++++++++ srcpkgs/perl-XML-LibXSLT/template | 15 ++++++++++ 2 files changed, 43 insertions(+) create mode 100644 srcpkgs/perl-XML-LibXSLT/patches/fix-cross-remove-have_library.patch create mode 100644 srcpkgs/perl-XML-LibXSLT/template diff --git a/srcpkgs/perl-XML-LibXSLT/patches/fix-cross-remove-have_library.patch b/srcpkgs/perl-XML-LibXSLT/patches/fix-cross-remove-have_library.patch new file mode 100644 index 0000000000..81fe75f54f --- /dev/null +++ b/srcpkgs/perl-XML-LibXSLT/patches/fix-cross-remove-have_library.patch @@ -0,0 +1,28 @@ +Remove the 'have_library()' check. It breaks cross compilation. +The checked for libxslt and libexslt are pulled in via makedepends +and therefore do exist, anyway. + +--- Makefile.PL.orig ++++ Makefile.PL +@@ -157,20 +157,8 @@ + $config{LIBS} .= $::is_Win32 ? '' :' -lm'; + } + +-if (!have_library($::is_Win32 ? "libxslt" : "xslt")) { +- print STDERR <