From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- .../libidn-wr-cross-compile.patch | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch (limited to 'meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch') diff --git a/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch b/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch new file mode 100644 index 0000000000..679caa36a1 --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/libnet/libnet-libidn-perl-0.12/libidn-wr-cross-compile.patch @@ -0,0 +1,49 @@ +perl-Net-LibIDN: cross-compile + +Upstream-Status: Pending + +Add support for cross-compile allowing the compiler binary to be +specified into the perl Makefile instead of using the default 'gcc'. + +Signed-off-by: Greg Moffatt +--- + +--- perl-Net-LibIDN-0.12.orig/Makefile.PL 2009-02-26 07:09:45.000000000 -0500 ++++ perl-Net-LibIDN-0.12/Makefile.PL 2010-10-19 09:34:22.811173965 -0400 +@@ -9,6 +9,7 @@ + my $options; + my $testno=1; + my %MakeParams = InitMakeParams(); ++my $compiler; + + WriteMakefile(%MakeParams); + +@@ -44,7 +45,8 @@ + ( + "with-libidn=s" => \$libdir, + "with-libidn-inc=s" => \$incdir, +- "disable-tld" => \$disable_tld ++ "disable-tld" => \$disable_tld, ++ "compiler=s" => \$compiler + ); + + if ($libdir) +@@ -165,12 +167,17 @@ + return 0; + } + +- foreach my $cc (qw/cc gcc/) ++ foreach my $cc ($compiler, qw/cc gcc/) + { + unlink($test); + system "$cc $cflags -o $test $test.c $ldflags"; + next if ($? >> 8); + ++ if ($compiler == $cc) ++ { ++ return 1; ++ } ++ + if (open(FILE, "./$test|")) + { + my $match; -- cgit v1.2.3