summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2015-10-14 14:37:52 +0900
committerBenda Xu <heroxbd@gentoo.org>2015-10-14 14:40:25 +0900
commita0072d7220178f6b9311e6307d549a04305fdafc (patch)
tree6c5e4e326c2e8849d5c986a6d1264ea58d8275af /sys-libs/ncurses
parentdev-ruby/sprockets: add 3.4.0 (diff)
downloadgentoo-a0072d7220178f6b9311e6307d549a04305fdafc.tar.gz
gentoo-a0072d7220178f6b9311e6307d549a04305fdafc.tar.bz2
gentoo-a0072d7220178f6b9311e6307d549a04305fdafc.zip
sys-libs/ncurses: put headers into ${EPREFIX}/usr/include on Prefix
Bug: 562786 Package-Manager: portage-2.2.22
Diffstat (limited to 'sys-libs/ncurses')
-rw-r--r--sys-libs/ncurses/ncurses-6.0-r1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-libs/ncurses/ncurses-6.0-r1.ebuild b/sys-libs/ncurses/ncurses-6.0-r1.ebuild
index fc20a470c15..9b5613869e4 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.