perl-xml-libxml: fix build
PATCH 1/1 perl-xml-libxml: fix build
see http://autobuild.buildroot.net/results/f80/f809c99ce4db80e64ca46865fcd9b75b0dcc1fcd/
Signed-off-by Francois Perrad <[email protected]>
--- .../perl-xml-libxml-01-Makefile-PL.patch | 18 ++++++++++++++++++ package/perl-xml-libxml/perl-xml-libxml.mk | 5 +++++ 2 files changed, 23 insertions(+) create mode 100644 package/perl-xml-libxml/perl-xml-libxml-01-Makefile-PL.patch
package/perl-xml-libxml/perl-xml-libxml-01-Makefile-PL.patch new file +18 -0
@@ -0,0 +1,18 @@ +fake check_lib for cross-compilation + +Signed-off-by: Francois Perrad <[email protected]> + +Index: b/Makefile.PL +=================================================================== +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -84,8 +84,7 @@ + # -------------------------------------------------------------------------- # + # -------------------------------------------------------------------------- # + +-use lib qw(inc); +-use Devel::CheckLib; ++sub check_lib { return 1; } + + # Prompt the user here for any paths and other configuration +
package/perl-xml-libxml/perl-xml-libxml.mk +5 -0
@@ -11,4 +11,9 @@ PERL_XML_LIBXML_DEPENDENCIES = perl zlib libxml2 perl-xml-sax perl-xml-namespace PERL_XML_LIBXML_LICENSE = Artistic or GPLv1+ PERL_XML_LIBXML_LICENSE_FILES = LICENSE +PERL_XML_LIBXML_CONF_OPT = \ + LIBS="-L $(STAGING_DIR)/usr/lib" \ + INC="-I $(STAGING_DIR)/usr/include/libxml2" \ + NO_THREADS + $(eval $(perl-package))
Signature · 1 line
1.9.1
PATCH 1/1 perl-xml-libxml: fix build
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Francois" == Francois Perrad <[email protected]> writes:
see http://autobuild.buildroot.net/results/f80/f809c99ce4db80e64ca46865fcd9b75b0dcc1fcd/
Signed-off-by Francois Perrad <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard