From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8940E1382C5 for ; Sat, 26 Dec 2020 12:45:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC234E0A7C; Sat, 26 Dec 2020 12:45:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9E8BFE0A7C for ; Sat, 26 Dec 2020 12:45:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0EA9B340E70 for ; Sat, 26 Dec 2020 12:45:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 708BD4C for ; Sat, 26 Dec 2020 12:45:46 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1608986744.564d68aa779719c613994f6b933cbb3f31e00d3a.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/perl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/perl/perl-5.30.3-r1.ebuild dev-lang/perl/perl-5.30.3-r2.ebuild dev-lang/perl/perl-5.32.0-r1.ebuild dev-lang/perl/perl-5.32.0.ebuild X-VCS-Directories: dev-lang/perl/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 564d68aa779719c613994f6b933cbb3f31e00d3a X-VCS-Branch: master Date: Sat, 26 Dec 2020 12:45:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5169d939-f5ec-4ec9-821f-75b66d5c54cc X-Archives-Hash: a78ec24c024340dcd4d4eba22fc0580d commit: 564d68aa779719c613994f6b933cbb3f31e00d3a Author: Fabian Groffen gentoo org> AuthorDate: Sat Dec 26 12:44:38 2020 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sat Dec 26 12:45:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=564d68aa dev-lang/perl: fix flock on sparc-solaris Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> dev-lang/perl/perl-5.30.3-r1.ebuild | 6 +++++- dev-lang/perl/perl-5.30.3-r2.ebuild | 6 +++++- dev-lang/perl/perl-5.32.0-r1.ebuild | 6 +++++- dev-lang/perl/perl-5.32.0.ebuild | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) diff --git a/dev-lang/perl/perl-5.30.3-r1.ebuild b/dev-lang/perl/perl-5.30.3-r1.ebuild index b437e661e57..e75625597fc 100644 --- a/dev-lang/perl/perl-5.30.3-r1.ebuild +++ b/dev-lang/perl/perl-5.30.3-r1.ebuild @@ -463,6 +463,10 @@ src_configure() { [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \ append-cflags -Dinline=__inline__ + # flock on 32-bit sparc Solaris is broken, fall back to fcntl + [[ ${CHOST} == sparc-*-solaris* ]] && \ + myconf -Ud_flock + # fix unaligned access misdetection # https://rt.perl.org/Public/Bug/Display.html?id=133495 # https://rt.perl.org/Public/Bug/Display.html?id=133803 @@ -478,7 +482,7 @@ src_configure() { # Set a hook to check for each detected library whether it actually works. export libscheck=" ( echo 'main(){}' > '${T}'/conftest.c && - $(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null + $(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null ) || xxx=/dev/null" # Use all host paths that might contain useful stuff, the hook above will filter out bad choices. diff --git a/dev-lang/perl/perl-5.30.3-r2.ebuild b/dev-lang/perl/perl-5.30.3-r2.ebuild index 6e6c7bf0efc..0ad5fc03413 100644 --- a/dev-lang/perl/perl-5.30.3-r2.ebuild +++ b/dev-lang/perl/perl-5.30.3-r2.ebuild @@ -619,6 +619,10 @@ src_configure() { [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \ append-cflags -Dinline=__inline__ + # flock on 32-bit sparc Solaris is broken, fall back to fcntl + [[ ${CHOST} == sparc-*-solaris* ]] && \ + myconf -Ud_flock + # fix unaligned access misdetection # https://rt.perl.org/Public/Bug/Display.html?id=133495 # https://rt.perl.org/Public/Bug/Display.html?id=133803 @@ -634,7 +638,7 @@ src_configure() { # Set a hook to check for each detected library whether it actually works. export libscheck=" ( echo 'main(){}' > '${T}'/conftest.c && - $(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null + $(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null ) || xxx=/dev/null" # Use all host paths that might contain useful stuff, the hook above will filter out bad choices. diff --git a/dev-lang/perl/perl-5.32.0-r1.ebuild b/dev-lang/perl/perl-5.32.0-r1.ebuild index 0c5fdc0e83d..0791da1fc3b 100644 --- a/dev-lang/perl/perl-5.32.0-r1.ebuild +++ b/dev-lang/perl/perl-5.32.0-r1.ebuild @@ -622,6 +622,10 @@ src_configure() { [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \ append-cflags -Dinline=__inline__ + # flock on 32-bit sparc Solaris is broken, fall back to fcntl + [[ ${CHOST} == sparc-*-solaris* ]] && \ + myconf -Ud_flock + # Prefix: the host system needs not to follow Gentoo multilib stuff, and in # Prefix itself we don't do multilib either, so make sure perl can find # something compatible. @@ -629,7 +633,7 @@ src_configure() { # Set a hook to check for each detected library whether it actually works. export libscheck=" ( echo 'main(){}' > '${T}'/conftest.c && - $(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null + $(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null ) || xxx=/dev/null" # Use all host paths that might contain useful stuff, the hook above will filter out bad choices. diff --git a/dev-lang/perl/perl-5.32.0.ebuild b/dev-lang/perl/perl-5.32.0.ebuild index b375dbc322b..86be1e04a1c 100644 --- a/dev-lang/perl/perl-5.32.0.ebuild +++ b/dev-lang/perl/perl-5.32.0.ebuild @@ -464,6 +464,10 @@ src_configure() { [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \ append-cflags -Dinline=__inline__ + # flock on 32-bit sparc Solaris is broken, fall back to fcntl + [[ ${CHOST} == sparc-*-solaris* ]] && \ + myconf -Ud_flock + # Prefix: the host system needs not to follow Gentoo multilib stuff, and in # Prefix itself we don't do multilib either, so make sure perl can find # something compatible. @@ -471,7 +475,7 @@ src_configure() { # Set a hook to check for each detected library whether it actually works. export libscheck=" ( echo 'main(){}' > '${T}'/conftest.c && - $(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null + $(tc-getCC) -o '${T}'/conftest '${T}'/conftest.c -l\$thislib >/dev/null 2>/dev/null ) || xxx=/dev/null" # Use all host paths that might contain useful stuff, the hook above will filter out bad choices.