diff options
-rw-r--r-- | sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild b/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild index add994f6a7ec..9738d6afa80e 100644 --- a/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild +++ b/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit mount-boot +inherit mount-boot toolchain-funcs MY_PV=${PV/_/-} @@ -29,12 +29,17 @@ BDEPEND=" S=${WORKDIR}/memtest86plus-${MY_PV} src_prepare() { - sed -i -e "s#/sbin/mkdosfs#mkfs.vfat#" build{32,64}/Makefile || die - sed -i -e "s/^AS = as/AS +=/" -e "/^CC/d" build{32,64}/Makefile || die + sed -i \ + -e 's#/sbin/mkdosfs#mkfs.vfat#' \ + -e 's/^AS = as/AS +=/' \ + -e '/^CC/d' \ + -e 's/objcopy/$(OBJCOPY)/' \ + build{32,64}/Makefile || die default } src_compile() { + tc-export OBJCOPY pushd build32 use bios32 && emake memtest.bin use efi32 && emake memtest.efi |