From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6EB7758973 for ; Mon, 8 Feb 2016 08:44:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0CE2621C07A; Mon, 8 Feb 2016 08:44:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9FDD721C07A for ; Mon, 8 Feb 2016 08:44:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 81E07340862 for ; Mon, 8 Feb 2016 08:44:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 003178DF for ; Mon, 8 Feb 2016 08:44:37 +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: <1454920978.a47fc95ea7bd53f3cc2e4af1f862fe3ccfa97379.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/serf/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/serf/serf-1.3.8-r1.ebuild X-VCS-Directories: net-libs/serf/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: a47fc95ea7bd53f3cc2e4af1f862fe3ccfa97379 X-VCS-Branch: master Date: Mon, 8 Feb 2016 08:44:37 +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: 66a46c37-2bc6-4121-a3fa-22e1eec25dcd X-Archives-Hash: 993e4463871cb0368f5c30865eec859d commit: a47fc95ea7bd53f3cc2e4af1f862fe3ccfa97379 Author: Fabian Groffen gentoo org> AuthorDate: Mon Feb 8 08:42:25 2016 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Mon Feb 8 08:42:58 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a47fc95e net-libs/serf: fix compilation on Solaris Package-Manager: portage-2.2.20-prefix net-libs/serf/serf-1.3.8-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-libs/serf/serf-1.3.8-r1.ebuild b/net-libs/serf/serf-1.3.8-r1.ebuild index c31fb28..8417bec 100644 --- a/net-libs/serf/serf-1.3.8-r1.ebuild +++ b/net-libs/serf/serf-1.3.8-r1.ebuild @@ -4,7 +4,7 @@ EAPI="5" -inherit eutils scons-utils toolchain-funcs +inherit eutils scons-utils toolchain-funcs flag-o-matic DESCRIPTION="HTTP client library" HOMEPAGE="https://code.google.com/p/serf/" @@ -32,6 +32,9 @@ src_prepare() { # https://code.google.com/p/serf/issues/detail?id=133 sed -e "/env.Append(CCFLAGS=\['-O2'\])/d" -i SConstruct + + # need limits.h for PATH_MAX (only when EXTENSIONS is enabled) + [[ ${CHOST} == *-solaris* ]] && append-cppflags -D__EXTENSIONS__ } src_compile() {