summaryrefslogtreecommitdiffstats
path: root/meta-perl
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2015-11-08 23:48:38 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2015-12-18 12:28:24 +0100
commite8dd7b29f9e491cfd4b2328f85cde37953c98bc0 (patch)
treef6637cf3963dc8b138998cb6e5e76ec992b06970 /meta-perl
parentf6eabb868d18df772f753fc8f50ffd5ea48dac83 (diff)
downloadmeta-openembedded-e8dd7b29f9e491cfd4b2328f85cde37953c98bc0.tar.gz
libhtml-tree-perl: fix shebang
There is a build failure while installing libhtml-tree-perl to sdk: ... |Computing transaction...error: Can't install nativesdk-libhtml-tree- perl-5.03-r0.1@x86_64_nativesdk: no package provides tmp/sysroots/ x86_64-linux/usr/bin/perl-native/perl.real ... The rpm detects the shebang of perl script, so we correct it. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-perl')
-rw-r--r--meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch25
-rw-r--r--meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb4
2 files changed, 28 insertions, 1 deletions
diff --git a/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch b/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch
new file mode 100644
index 000000000..4266f059d
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch
@@ -0,0 +1,25 @@
1From 28ee994780459c3552d3cbbd6b011d054a41c439 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Sun, 8 Nov 2015 23:33:31 -0500
4Subject: [PATCH] bin/htmltree: fix shebang
5
6Upstream-Status: Pending
7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9---
10 bin/htmltree | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/bin/htmltree b/bin/htmltree
14index 8bf3db2..f9927e5 100755
15--- a/bin/htmltree
16+++ b/bin/htmltree
17@@ -1,4 +1,4 @@
18-#!/usr/bin/perl
19+#!/usr/bin/env perl
20 # Time-stamp: "2000-10-02 14:48:15 MDT"
21 #
22 # Parse the given HTML file(s) and dump the parse tree
23--
241.9.1
25
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
index 0b457e316..8eb0e06a0 100644
--- a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
@@ -11,7 +11,9 @@ HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme"
11LICENSE = "Artistic-1.0 | GPL-1.0+" 11LICENSE = "Artistic-1.0 | GPL-1.0+"
12LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242" 12LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242"
13 13
14SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz" 14SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz \
15 file://bin-htmltree-fix-shebang.patch \
16"
15SRC_URI[md5sum] = "d9271d60b872ed6fbe68b2d0fe8c450e" 17SRC_URI[md5sum] = "d9271d60b872ed6fbe68b2d0fe8c450e"
16SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f" 18SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f"
17 19