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 D39FF138334 for ; Thu, 17 Jan 2019 07:44:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 83251E0ADC; Thu, 17 Jan 2019 07:44:28 +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 4EDE1E0ADC for ; Thu, 17 Jan 2019 07:44:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1A85E335CF8 for ; Thu, 17 Jan 2019 07:44:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0EF3D50C for ; Thu, 17 Jan 2019 07:44:24 +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: <1547711013.c8e7386fe2f483f3b2441867ee044dd765a73fea.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.28.0.ebuild dev-lang/perl/perl-5.28.9999.ebuild X-VCS-Directories: dev-lang/perl/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: c8e7386fe2f483f3b2441867ee044dd765a73fea X-VCS-Branch: master Date: Thu, 17 Jan 2019 07:44:24 +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: 1ea5e004-30a4-469c-98e2-51854bf8d6fd X-Archives-Hash: 106dff9eec173eb812c0b4d3295b9b78 commit: c8e7386fe2f483f3b2441867ee044dd765a73fea Author: Fabian Groffen gentoo org> AuthorDate: Thu Jan 17 07:43:13 2019 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu Jan 17 07:43:33 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e7386f dev-lang/perl: misc fixes for Solaris - set SONAME for libperl - fix arch dirs to be called *-solaris iso *-linux - add workaround for broken alignment check causing buserror on sparc Signed-off-by: Fabian Groffen gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-lang/perl/perl-5.28.0.ebuild | 11 +++++++++-- dev-lang/perl/perl-5.28.9999.ebuild | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/dev-lang/perl/perl-5.28.0.ebuild b/dev-lang/perl/perl-5.28.0.ebuild index 13cbdc3c005..ce7173f15eb 100644 --- a/dev-lang/perl/perl-5.28.0.ebuild +++ b/dev-lang/perl/perl-5.28.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -136,6 +136,7 @@ pkg_setup() { *-netbsd*) osname="netbsd" ;; *-openbsd*) osname="openbsd" ;; *-darwin*) osname="darwin" ;; + *-solaris*) osname="solaris" ;; *-interix*) osname="interix" ;; *-aix*) osname="aix" ;; *-cygwin*) osname="cygwin" ;; @@ -314,7 +315,9 @@ src_prepare() { if [[ ${CHOST} == *-solaris* ]] ; then # do NOT mess with nsl, on Solaris this is always necessary, # when -lsocket is used e.g. to get h_errno - sed -i '/gentoo\/no-nsl\.patch/d' "${WORKDIR}/patches/series" || die "Can't exclude libnsl patch" + sed -i '/gentoo\/no-nsl\.patch/d' "${WORKDIR}/patches/series" || die + # and set a soname + sed -i 's/sunos\*/sunos*|solaris*/' Makefile.SH || die fi einfo "Applying patches from ${PATCH_BASE} ..." @@ -467,6 +470,10 @@ src_configure() { [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \ append-cflags -Dinline=__inline__ + # fix unaligned access misdetection + # https://rt.perl.org/Public/Bug/Display.html?id=133495 + [[ ${CHOST} == sparc*-solaris* ]] && myconf "-Dd_u32align='define'" + # 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. diff --git a/dev-lang/perl/perl-5.28.9999.ebuild b/dev-lang/perl/perl-5.28.9999.ebuild index 13cbdc3c005..ce7173f15eb 100644 --- a/dev-lang/perl/perl-5.28.9999.ebuild +++ b/dev-lang/perl/perl-5.28.9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -136,6 +136,7 @@ pkg_setup() { *-netbsd*) osname="netbsd" ;; *-openbsd*) osname="openbsd" ;; *-darwin*) osname="darwin" ;; + *-solaris*) osname="solaris" ;; *-interix*) osname="interix" ;; *-aix*) osname="aix" ;; *-cygwin*) osname="cygwin" ;; @@ -314,7 +315,9 @@ src_prepare() { if [[ ${CHOST} == *-solaris* ]] ; then # do NOT mess with nsl, on Solaris this is always necessary, # when -lsocket is used e.g. to get h_errno - sed -i '/gentoo\/no-nsl\.patch/d' "${WORKDIR}/patches/series" || die "Can't exclude libnsl patch" + sed -i '/gentoo\/no-nsl\.patch/d' "${WORKDIR}/patches/series" || die + # and set a soname + sed -i 's/sunos\*/sunos*|solaris*/' Makefile.SH || die fi einfo "Applying patches from ${PATCH_BASE} ..." @@ -467,6 +470,10 @@ src_configure() { [[ ${CHOST} == *-darwin* && ${CHOST##*darwin} -le 9 ]] && tc-is-gcc && \ append-cflags -Dinline=__inline__ + # fix unaligned access misdetection + # https://rt.perl.org/Public/Bug/Display.html?id=133495 + [[ ${CHOST} == sparc*-solaris* ]] && myconf "-Dd_u32align='define'" + # 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.