From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/prefix:master commit in: sys-libs/ncurses/
Date: Sun, 24 Mar 2019 09:32:59 +0000 (UTC) [thread overview]
Message-ID: <1553419963.e2a0fbd3793ecd992b853111e5ec1292a68a1d56.grobian@gentoo> (raw)
commit: e2a0fbd3793ecd992b853111e5ec1292a68a1d56
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 24 09:32:43 2019 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Mar 24 09:32:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=e2a0fbd3
sys-libs/ncurses: align with gx86
Package-Manager: Portage-2.3.62-prefix, Repoman-2.3.12
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
sys-libs/ncurses/ncurses-6.1-r3.ebuild | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/sys-libs/ncurses/ncurses-6.1-r3.ebuild b/sys-libs/ncurses/ncurses-6.1-r3.ebuild
index 034891ac60..46e8fa420e 100644
--- a/sys-libs/ncurses/ncurses-6.1-r3.ebuild
+++ b/sys-libs/ncurses/ncurses-6.1-r3.ebuild
@@ -3,7 +3,7 @@
EAPI="6"
-inherit flag-o-matic toolchain-funcs multilib-minimal multilib-build
+inherit flag-o-matic toolchain-funcs multilib-minimal preserve-libs
MY_PV=${PV:0:3}
PV_SNAP=${PV:4}
@@ -25,8 +25,7 @@ RDEPEND="${DEPEND}
!<=sys-libs/ncurses-5.9-r4:5
!<sys-libs/slang-2.3.2_pre23
!<x11-terms/rxvt-unicode-9.06-r3
- !<x11-terms/st-0.6-r1
- !app-emulation/emul-linux-x86-baselibs"
+ !<x11-terms/st-0.6-r1"
S=${WORKDIR}/${MY_P}
@@ -104,7 +103,7 @@ do_configure() {
local target=$1
shift
- mkdir "${BUILD_DIR}/${target}"
+ mkdir "${BUILD_DIR}/${target}" || die
cd "${BUILD_DIR}/${target}" || die
local conf=(
@@ -135,6 +134,9 @@ do_configure() {
# The configure script uses ldd to parse the linked output which
# is flaky for cross-compiling/multilib/ldd versions/etc...
$(use_with gpm gpm libgpm.so.1)
+ # Required for building on mingw-w64, and possibly other windows
+ # platforms, bug #639670
+ $(use_enable kernel_Winnt term-driver)
--disable-termcap
--enable-symlinks
--with-rcs-ids
@@ -221,7 +223,7 @@ do_compile() {
# compiled libraries which depends on sources which ...
# Manually delete the pc-files file so the install step will
# create the .pc files we want.
- rm -f misc/pc-files
+ rm -f misc/pc-files || die
emake "$@"
}
@@ -242,7 +244,10 @@ multilib_src_install() {
# Provide a link for -lcurses.
ln -sf libncurses$(get_libname) "${ED}"/usr/$(get_libdir)/libcurses$(get_libname) || die
fi
- use static-libs || find "${ED}"/usr/ -name '*.a' -not -name "*$(get_libname)" -delete
+ # don't delete '*.dll.a', needed for linking #631468
+ if ! use static-libs; then
+ find "${ED}"/usr/ -name '*.a' ! -name '*.dll.a' -a ! -name "*$(get_libname)" -delete || die
+ fi
# Build fails to create this ...
dosym ../share/terminfo /usr/$(get_libdir)/terminfo
@@ -285,11 +290,11 @@ multilib_src_install_all() {
# Because ncurses5-config --terminfo returns the directory we keep it
keepdir /usr/share/terminfo #245374
- cd "${S}"
+ cd "${S}" || die
dodoc ANNOUNCE MANIFEST NEWS README* TO-DO doc/*.doc
if use doc ; then
docinto html
- dohtml -r doc/html/
+ dodoc -r doc/html/
fi
}
next reply other threads:[~2019-03-24 9:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-24 9:32 Fabian Groffen [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-24 9:15 [gentoo-commits] repo/proj/prefix:master commit in: sys-libs/ncurses/ Fabian Groffen
2018-01-13 9:16 Fabian Groffen
2018-01-10 11:50 Michael Haubenwallner
2016-04-20 8:54 Michael Haubenwallner
2016-04-20 8:54 Michael Haubenwallner
2016-04-13 9:55 Michael Haubenwallner
2016-04-11 13:31 Michael Haubenwallner
2016-02-16 19:20 Fabian Groffen
2016-02-09 14:51 Fabian Groffen
2016-02-09 14:48 Fabian Groffen
2016-01-31 18:11 Michael Haubenwallner
2016-01-06 14:28 Fabian Groffen
2015-11-07 16:50 Fabian Groffen
2015-11-02 19:11 Fabian Groffen
2015-11-01 9:37 Fabian Groffen
2015-11-01 9:06 Fabian Groffen
2015-10-11 10:35 Fabian Groffen
2015-09-13 19:32 Fabian Groffen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1553419963.e2a0fbd3793ecd992b853111e5ec1292a68a1d56.grobian@gentoo \
--to=grobian@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox