commit:     9b88a06bc6250e2e1401497991a5ae0ecda81e97
Author:     Violet Purcell <vimproved <AT> inventati <DOT> org>
AuthorDate: Wed Oct 18 18:56:57 2023 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Wed Oct  9 16:45:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b88a06b

sys-boot/syslinux: pass UPX=false to make

When building with bios support, Syslinux attempts to call upx. However,
it is not a necessary build step and the build will just continue if it
fails. This commit passes UPX=false to make when built with bios support
to silence the command not found QA warnings.

Closes: https://bugs.gentoo.org/888211
Signed-off-by: Violet Purcell <vimproved <AT> inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/33399
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 sys-boot/syslinux/syslinux-6.04_pre1-r5.ebuild | 2 +-
 sys-boot/syslinux/syslinux-6.04_pre3-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-boot/syslinux/syslinux-6.04_pre1-r5.ebuild 
b/sys-boot/syslinux/syslinux-6.04_pre1-r5.ebuild
index cc03c3c95fd0..b13e8ee8582b 100644
--- a/sys-boot/syslinux/syslinux-6.04_pre1-r5.ebuild
+++ b/sys-boot/syslinux/syslinux-6.04_pre1-r5.ebuild
@@ -60,7 +60,7 @@ src_compile() {
        unset CFLAGS LDFLAGS
 
        if use bios; then
-               emake bios DATE="${DATE}" HEXDATE="${HEXDATE}"
+               emake bios DATE="${DATE}" HEXDATE="${HEXDATE}" UPX=false
        fi
        if use uefi; then
                if use abi_x86_32; then

diff --git a/sys-boot/syslinux/syslinux-6.04_pre3-r1.ebuild 
b/sys-boot/syslinux/syslinux-6.04_pre3-r1.ebuild
index 36ba918ffe7b..cc980c2f0157 100644
--- a/sys-boot/syslinux/syslinux-6.04_pre3-r1.ebuild
+++ b/sys-boot/syslinux/syslinux-6.04_pre3-r1.ebuild
@@ -76,7 +76,7 @@ src_compile() {
        unset CFLAGS LDFLAGS
 
        if use bios; then
-               emake bios DATE="${DATE}" HEXDATE="${HEXDATE}"
+               emake bios DATE="${DATE}" HEXDATE="${HEXDATE}" UPX=false
        fi
        if use uefi; then
                if use abi_x86_32; then

Reply via email to