summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-12-10 16:58:19 +0100
committerMichał Górny <mgorny@gentoo.org>2019-12-10 17:13:27 +0100
commit3ba8374cc4ac3ae37f124c4b704ffaaa34bcc484 (patch)
treef45cf426fd6220a2c146216b2114db99c9d0eb43 /sys-libs
parentsys-libs/netbsd-csu: Remove old (diff)
downloadgentoo-3ba8374cc4ac3ae37f124c4b704ffaaa34bcc484.tar.gz
gentoo-3ba8374cc4ac3ae37f124c4b704ffaaa34bcc484.tar.bz2
gentoo-3ba8374cc4ac3ae37f124c4b704ffaaa34bcc484.zip
sys-libs/netbsd-csu: Inline bmake use, remove bsdmk inherit
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/netbsd-csu/netbsd-csu-9.0_beta.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-libs/netbsd-csu/netbsd-csu-9.0_beta.ebuild b/sys-libs/netbsd-csu/netbsd-csu-9.0_beta.ebuild
index 51311c325c24..99981172dddc 100644
--- a/sys-libs/netbsd-csu/netbsd-csu-9.0_beta.ebuild
+++ b/sys-libs/netbsd-csu/netbsd-csu-9.0_beta.ebuild
@@ -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