summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/perl_5.32.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl/perl_5.32.1.bb')
-rw-r--r--meta/recipes-devtools/perl/perl_5.32.1.bb17
1 files changed, 4 insertions, 13 deletions
diff --git a/meta/recipes-devtools/perl/perl_5.32.1.bb b/meta/recipes-devtools/perl/perl_5.32.1.bb
index b28040c7fb..01db924a73 100644
--- a/meta/recipes-devtools/perl/perl_5.32.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.32.1.bb
@@ -9,18 +9,14 @@ LIC_FILES_CHKSUM = "file://Copying;md5=5b122a36d0f6dc55279a0ebc69f3c60b \
9 9
10 10
11SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \ 11SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
12 https://github.com/arsv/perl-cross/releases/download/1.3.5/perl-cross-1.3.5.tar.gz;name=perl-cross \
13 file://perl-rdepends.txt \ 12 file://perl-rdepends.txt \
14 file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \
15 file://0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch \ 13 file://0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch \
16 file://0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch \ 14 file://0001-Somehow-this-module-breaks-through-the-perl-wrapper-.patch \
17 file://errno_ver.diff \ 15 file://errno_ver.diff \
18 file://native-perlinc.patch \ 16 file://native-perlinc.patch \
19 file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
20 file://perl-dynloader.patch \ 17 file://perl-dynloader.patch \
21 file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \
22 file://0002-Constant-Fix-up-shebang.patch \ 18 file://0002-Constant-Fix-up-shebang.patch \
23 file://determinism.patch \ 19 file://determinism.patch \
24 " 20 "
25SRC_URI_append_class-native = " \ 21SRC_URI_append_class-native = " \
26 file://perl-configpm-switch.patch \ 22 file://perl-configpm-switch.patch \
@@ -30,13 +26,12 @@ SRC_URI_append_class-target = " \
30" 26"
31 27
32SRC_URI[perl.sha256sum] = "03b693901cd8ae807231b1787798cf1f2e0b8a56218d07b7da44f784a7caeb2c" 28SRC_URI[perl.sha256sum] = "03b693901cd8ae807231b1787798cf1f2e0b8a56218d07b7da44f784a7caeb2c"
33SRC_URI[perl-cross.sha256sum] = "91c66f6b2b99fccfd4fee14660b677380b0c98f9456359e91449798c2ad2ef25"
34 29
35S = "${WORKDIR}/perl-${PV}" 30S = "${WORKDIR}/perl-${PV}"
36 31
37inherit upstream-version-is-even update-alternatives 32inherit upstream-version-is-even update-alternatives
38 33
39DEPENDS += "zlib virtual/crypt" 34DEPENDS += "perlcross-native zlib virtual/crypt"
40 35
41PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0" 36PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0"
42 37
@@ -47,12 +42,8 @@ PACKAGECONFIG[gdbm] = ",-Ui_gdbm,gdbm"
47# Don't generate comments in enc2xs output files. They are not reproducible 42# Don't generate comments in enc2xs output files. They are not reproducible
48export ENC2XS_NO_COMMENTS = "1" 43export ENC2XS_NO_COMMENTS = "1"
49 44
50do_unpack_append() { 45do_configure_prepend() {
51 bb.build.exec_func('do_copy_perlcross', d) 46 cp -rfp ${STAGING_DATADIR_NATIVE}/perl-cross/* ${S}
52}
53
54do_copy_perlcross() {
55 cp -rfp ${WORKDIR}/perl-cross*/* ${S}
56} 47}
57 48
58do_configure_class-target() { 49do_configure_class-target() {