diff options
-rw-r--r-- | sys-libs/ncurses/ncurses-6.0-r1.ebuild | 7 |
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 fc20a470c154..9b5613869e45 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. |