diff options
-rw-r--r-- | net-irc/ninja/ninja-1.5.9_pre14-r1.ebuild | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/net-irc/ninja/ninja-1.5.9_pre14-r1.ebuild b/net-irc/ninja/ninja-1.5.9_pre14-r1.ebuild index ab35441f4f58..d4712c50f4b8 100644 --- a/net-irc/ninja/ninja-1.5.9_pre14-r1.ebuild +++ b/net-irc/ninja/ninja-1.5.9_pre14-r1.ebuild @@ -1,13 +1,15 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -S=${WORKDIR}/${P/_*/} +inherit toolchain-funcs DESCRIPTION="Ninja IRC Client" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" SRC_URI="ftp://qoop.org/ninja/stable/${P/_/}.tar.gz" +S="${WORKDIR}"/${P/_*/} + SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 ppc ~ppc64 ~sparc x86" @@ -15,17 +17,26 @@ IUSE="ncurses ipv6 ssl" RESTRICT="test" -DEPEND="ncurses? ( sys-libs/ncurses ) - ssl? ( dev-libs/openssl )" +DEPEND=" + ncurses? ( sys-libs/ncurses:= ) + ssl? ( dev-libs/openssl:= ) +" RDEPEND="${DEPEND}" MAKEOPTS="${MAKEOPTS} -j1" src_configure() { + tc-export CC + econf $(use_enable ipv6) + + # Generated post-configure + sed -i -e "s:/usr/lib:/usr/$(get_libdir):" Makefile || die } src_install() { default - mv "${ED}"/usr/bin/ninja{,_irc} || die #436804 + + # bug #436804 + mv "${ED}"/usr/bin/ninja{,_irc} || die } |