Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 918934 Details for
Bug 949735
dev-lang/perl-5.40.0-r1: Incorrect use of REPLACING_VERSIONS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for perl-5.40.0-r1.ebuild
perl-5.40.0-r1.ebuild.diff (text/plain), 1.46 KB, created by
Ulrich Müller
on 2025-02-14 16:44:51 UTC
(
hide
)
Description:
Patch for perl-5.40.0-r1.ebuild
Filename:
MIME Type:
Creator:
Ulrich Müller
Created:
2025-02-14 16:44:51 UTC
Size:
1.46 KB
patch
obsolete
>--- a/dev-lang/perl/perl-5.40.0-r1.ebuild >+++ b/dev-lang/perl/perl-5.40.0-r1.ebuild >@@ -109,12 +109,15 @@ > > check_rebuild() { > # Fresh install >- if [[ -z "${REPLACING_VERSIONS}" ]]; then >- return 0; >- # Major Upgrade >- # doesn't matter if there's multiple copies, it still needs a rebuild >- # if the string is anything other than "5.CURRENTMAJOR" >- elif [[ "${REPLACING_VERSIONS%.*}" != "${PV%.*}" ]]; then >+ if [[ -z ${REPLACING_VERSIONS} ]]; then >+ return 0 >+ fi >+ >+ local v >+ for v in ${REPLACING_VERSIONS}; do >+ [[ ${v%.*} == "${PV%.*}" ]] && continue >+ >+ # Major Upgrade > echo "" > ewarn "UPDATE THE PERL MODULES:" > ewarn "After updating dev-lang/perl the installed Perl modules" >@@ -130,10 +133,12 @@ check_rebuild() { > ewarn "You should then call perl-cleaner to clean up any old files and trigger any" > ewarn "remaining rebuilds portage may have missed." > ewarn "Use: perl-cleaner --all" >- return 0; >+ >+ return 0 >+ done > > # Reinstall w/ USE Change >- elif >+ if > ( use perl_features_ithreads && ( has_version '<dev-lang/perl-5.38.2-r3[-ithreads]' || has_version '>=dev-lang/perl-5.38.2-r3[-perl_features_ithreads]' ) ) || \ > ( ! use perl_features_ithreads && ( has_version '<dev-lang/perl-5.38.2-r3[ithreads]' || has_version '>=dev-lang/perl-5.38.2-r3[perl_features_ithreads]' ) ) || \ > ( use perl_features_quadmath && ( has_version '<dev-lang/perl-5.38.2-r3[-quadmath]' || has_version '>=dev-lang/perl-5.38.2-r3[-perl_features_quadmath]' ) ) || \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 949735
:
918934