sys-libs/netbsd-csu: Inline bmake use, remove bsdmk inherit
authorMichał Górny <mgorny@gentoo.org>
Tue, 10 Dec 2019 15:58:19 +0000 (16:58 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 10 Dec 2019 16:13:27 +0000 (17:13 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-libs/netbsd-csu/netbsd-csu-9.0_beta.ebuild

index 51311c325c24d01b34a785081a10caad9fa75e3b..99981172dddc3075ed8335f2998ae85b5c365fb4 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit bsdmk multilib-minimal toolchain-funcs
+inherit flag-o-matic multilib-minimal toolchain-funcs
 
 DESCRIPTION="crtbegin.o/crtend.o from NetBSD CSU for GCC-free toolchain"
 HOMEPAGE="http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/csu/"
@@ -17,6 +17,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 BDEPEND="app-arch/xz-utils
+       virtual/pmake
        test? ( sys-devel/clang )"
 
 S=${WORKDIR}/${P}/lib/csu
@@ -59,7 +60,7 @@ multilib_src_compile() {
        # we only need those files; crt1 and friends are provided by libc
        opts+=( crtbegin.o crtbeginS.o crtend.o )
 
-       bsdmk_src_compile "${opts[@]}"
+       bmake ${MAKEOPTS} "${opts[@]}" ${EXTRA_EMAKE} || die
 
        ln -s crtbegin.o crtbeginT.o || die
        ln -s crtend.o crtendS.o || die