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 4EA9713888F for ; Wed, 14 Oct 2015 05:40:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6ACE21C004; Wed, 14 Oct 2015 05:40:43 +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 6F72021C004 for ; Wed, 14 Oct 2015 05:40:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 520333406F2 for ; Wed, 14 Oct 2015 05:40:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 266CAE36 for ; Wed, 14 Oct 2015 05:40:36 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1444801225.a0072d7220178f6b9311e6307d549a04305fdafc.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ncurses/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/ncurses/ncurses-6.0-r1.ebuild X-VCS-Directories: sys-libs/ncurses/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: a0072d7220178f6b9311e6307d549a04305fdafc X-VCS-Branch: master Date: Wed, 14 Oct 2015 05:40:36 +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: 29337430-0b57-42cf-90e3-e67490a1adce X-Archives-Hash: fa1ffe6ef9b0e66baaf5125b9182ca8e commit: a0072d7220178f6b9311e6307d549a04305fdafc Author: Benda Xu gentoo org> AuthorDate: Wed Oct 14 05:37:52 2015 +0000 Commit: Benda XU gentoo org> CommitDate: Wed Oct 14 05:40:25 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0072d72 sys-libs/ncurses: put headers into ${EPREFIX}/usr/include on Prefix Bug: 562786 Package-Manager: portage-2.2.22 sys-libs/ncurses/ncurses-6.0-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-libs/ncurses/ncurses-6.0-r1.ebuild b/sys-libs/ncurses/ncurses-6.0-r1.ebuild index fc20a47..9b56138 100644 --- a/sys-libs/ncurses/ncurses-6.0-r1.ebuild +++ b/sys-libs/ncurses/ncurses-6.0-r1.ebuild @@ -165,7 +165,12 @@ do_configure() { conf+=( --without-{pthread,reentrant} ) fi # Make sure each variant goes in a unique location. - if [[ ${target} != "ncurses" ]] ; then + if [[ ${target} == "ncurses" ]] ; then + # "ncurses" variant goes into "${EPREFIX}"/usr/include + # It is needed on Prefix because the configure script appends + # "ncurses" to "${prefix}/include" if "${prefix}" is not /usr. + conf+=( --enable-overwrite ) + else conf+=( --includedir="${EPREFIX}"/usr/include/${target} ) fi # See comments in src_configure.