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 8B8B51382C5 for ; Sat, 10 Mar 2018 19:14:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9824BE089F; Sat, 10 Mar 2018 19:14:08 +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 7330CE089F for ; Sat, 10 Mar 2018 19:14:08 +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 4536D335C2A for ; Sat, 10 Mar 2018 19:14:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AB38241 for ; Sat, 10 Mar 2018 19:14:05 +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: <1520709237.0c7670535a190f35a2dfe482b38045c3b3cc6bc1.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.26.1-r2.ebuild X-VCS-Directories: dev-lang/perl/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 0c7670535a190f35a2dfe482b38045c3b3cc6bc1 X-VCS-Branch: master Date: Sat, 10 Mar 2018 19:14:05 +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-Archives-Salt: f1425a13-5a22-488a-a038-093d429f2eb7 X-Archives-Hash: 3129a6641b6f2cbc780ab0c5323c1a3e commit: 0c7670535a190f35a2dfe482b38045c3b3cc6bc1 Author: Fabian Groffen gentoo org> AuthorDate: Sat Mar 10 19:13:24 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Sat Mar 10 19:13:57 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c767053 dev-lang/perl/perl: unbreak Solaris, we NEED -lnsl there Package-Manager: Portage-2.3.19, Repoman-2.3.6 dev-lang/perl/perl-5.26.1-r2.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-lang/perl/perl-5.26.1-r2.ebuild b/dev-lang/perl/perl-5.26.1-r2.ebuild index e23f6e792be..3a144671246 100644 --- a/dev-lang/perl/perl-5.26.1-r2.ebuild +++ b/dev-lang/perl/perl-5.26.1-r2.ebuild @@ -330,6 +330,11 @@ src_prepare() { sed -i "/my..sysroot/s:'':'${EPREFIX}':" ext/Errno/Errno_pm.PL || die fi + 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 + PATCHES=( ${PATCHES[@]/*libnsl.patch/} ) + fi default }