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 9BC79139694 for ; Tue, 18 Apr 2017 08:30:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6CC1E0DE6; Tue, 18 Apr 2017 08:30:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A0115E0DE6 for ; Tue, 18 Apr 2017 08:30:16 +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 5C2C1340AC7 for ; Tue, 18 Apr 2017 08:30:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 520CD72DA for ; Tue, 18 Apr 2017 08:30:13 +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: <1492504208.4e59cfef91ca82c3162cd3b2c4d0b0928b031bd0.grobian@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/libidn2/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/libidn2/libidn2-2.0.0-r1.ebuild X-VCS-Directories: net-dns/libidn2/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 4e59cfef91ca82c3162cd3b2c4d0b0928b031bd0 X-VCS-Branch: master Date: Tue, 18 Apr 2017 08:30:13 +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: 6c0d4473-f709-40be-8e4d-8a407e480efd X-Archives-Hash: 23ebfe38bc81a497cf4791d6a98397c8 commit: 4e59cfef91ca82c3162cd3b2c4d0b0928b031bd0 Author: Fabian Groffen gentoo org> AuthorDate: Tue Apr 18 08:30:08 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Apr 18 08:30:08 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e59cfef net-dns/libidn2: fix compilation on Darwin Package-Manager: Portage-2.3.3, Repoman-2.3.1 net-dns/libidn2/libidn2-2.0.0-r1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/net-dns/libidn2/libidn2-2.0.0-r1.ebuild b/net-dns/libidn2/libidn2-2.0.0-r1.ebuild index c1c4f3f0ff4..cfa974b6bc6 100644 --- a/net-dns/libidn2/libidn2-2.0.0-r1.ebuild +++ b/net-dns/libidn2/libidn2-2.0.0-r1.ebuild @@ -27,10 +27,11 @@ DEPEND=" src_prepare() { default - if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then - # crude hack, fixed properly for next release, no error.h is present - sed -i -e '/#include "error\.h"/d' src/idn2.c || die - append-cppflags -D'error\(E,...\)=exit\(E\)' + if [[ ${CHOST} == *-darwin* ]] ; then + # Darwin ar chokes when TMPDIR doesn't exist (as done for some + # reason in the Makefile) + sed -i -e '/^TMPDIR = /d' Makefile.in || die + export TMPDIR="${T}" fi multilib_copy_sources