mirror of
https://git.yoctoproject.org/poky
synced 2026-06-07 03:04:04 +00:00
perl: update 5.32.0 -> 5.32.1
Drop perl-cross-makefile.patch as it is merged upstream. (From OE-Core rev: 7459853328d3e8a43d04a75181a46bd42b8fb076) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
02f2ecabc3
commit
c621b08c82
@@ -1,29 +0,0 @@
|
||||
Makefile: Avoid continual rebuilds of miniperl and associated races
|
||||
|
||||
In the Yocto Project, when we run "make install" we notice miniperl
|
||||
rebuilding multiple times. Usually this is harmless however sometimes
|
||||
race issues occur such as miniperl not being executable.
|
||||
|
||||
The issue is that crosspatch is a phony target so it always rebuilds.
|
||||
Adding this as a dependency of miniperl means miniperl always rebuilds
|
||||
too.
|
||||
|
||||
Avoid this by injecting a direct dependency avoiding the phony target.
|
||||
miniperl is then only rebuilt when its input changes as desired.
|
||||
|
||||
Signed-off-by: Richard Purdie richard.purdie@linuxfoundation.org
|
||||
Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/95]
|
||||
|
||||
Index: perl-5.32.0/Makefile
|
||||
===================================================================
|
||||
--- perl-5.32.0.orig/Makefile
|
||||
+++ perl-5.32.0/Makefile
|
||||
@@ -56,7 +56,7 @@ crosspatch: $(CROSSPATCHED)
|
||||
|
||||
# A minor fix for buildroot, force crosspatching when running "make perl modules"
|
||||
# instead of "make all".
|
||||
-miniperlmain$O: crosspatch
|
||||
+miniperlmain$O: $(CROSSPATCHED)
|
||||
|
||||
# Original versions are not saved anymore; patch generally takes care of this,
|
||||
# and if that fails, reaching for the source tarball is the safest option.
|
||||
+3
-4
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://Copying;md5=5b122a36d0f6dc55279a0ebc69f3c60b \
|
||||
|
||||
|
||||
SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
|
||||
https://github.com/arsv/perl-cross/releases/download/1.3.4/perl-cross-1.3.4.tar.gz;name=perl-cross \
|
||||
https://github.com/arsv/perl-cross/releases/download/1.3.5/perl-cross-1.3.5.tar.gz;name=perl-cross \
|
||||
file://perl-rdepends.txt \
|
||||
file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \
|
||||
file://0001-ExtUtils-MakeMaker-add-LDFLAGS-when-linking-binary-m.patch \
|
||||
@@ -21,7 +21,6 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
|
||||
file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \
|
||||
file://0002-Constant-Fix-up-shebang.patch \
|
||||
file://determinism.patch \
|
||||
file://perl-cross-makefile.patch \
|
||||
"
|
||||
SRC_URI_append_class-native = " \
|
||||
file://perl-configpm-switch.patch \
|
||||
@@ -30,8 +29,8 @@ SRC_URI_append_class-target = " \
|
||||
file://encodefix.patch \
|
||||
"
|
||||
|
||||
SRC_URI[perl.sha256sum] = "efeb1ce1f10824190ad1cadbcccf6fdb8a5d37007d0100d2d9ae5f2b5900c0b4"
|
||||
SRC_URI[perl-cross.sha256sum] = "755aa0ca8141a942188a269564f86c3c82349f82c346ed5c992495d7f35138ba"
|
||||
SRC_URI[perl.sha256sum] = "03b693901cd8ae807231b1787798cf1f2e0b8a56218d07b7da44f784a7caeb2c"
|
||||
SRC_URI[perl-cross.sha256sum] = "91c66f6b2b99fccfd4fee14660b677380b0c98f9456359e91449798c2ad2ef25"
|
||||
|
||||
S = "${WORKDIR}/perl-${PV}"
|
||||
|
||||
Reference in New Issue
Block a user