summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2022-07-02 07:00:43 -0500
committerBen Kohler <bkohler@gentoo.org>2022-07-02 07:01:27 -0500
commitab4fb22897c589dd3c33e7de4f99c10eade2ec9d (patch)
treec12fcca922221930b6bd3c5debe488dada1053f0 /sys-apps/memtest86+
parentdev-python/IPy: Clean MY_P up (diff)
downloadgentoo-ab4fb22897c589dd3c33e7de4f99c10eade2ec9d.tar.gz
gentoo-ab4fb22897c589dd3c33e7de4f99c10eade2ec9d.tar.bz2
gentoo-ab4fb22897c589dd3c33e7de4f99c10eade2ec9d.zip
sys-apps/memtest86+: fix direct size call
Closes: https://bugs.gentoo.org/855587 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'sys-apps/memtest86+')
-rw-r--r--sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild b/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild
index 9738d6afa80e..eb5778e25fdf 100644
--- a/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild
+++ b/sys-apps/memtest86+/memtest86+-6.00_beta2.ebuild
@@ -34,12 +34,14 @@ src_prepare() {
-e 's/^AS = as/AS +=/' \
-e '/^CC/d' \
-e 's/objcopy/$(OBJCOPY)/' \
+ -e 's/shell size/shell $(SIZE)/' \
build{32,64}/Makefile || die
default
}
src_compile() {
tc-export OBJCOPY
+ export SIZE=$(tc-getPROG SIZE size)
pushd build32
use bios32 && emake memtest.bin
use efi32 && emake memtest.efi