From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B7A113835A for ; Thu, 13 May 2021 13:55:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A245FE088B; Thu, 13 May 2021 13:55:42 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8AD06E088B for ; Thu, 13 May 2021 13:55:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92B15340DC8 for ; Thu, 13 May 2021 13:55:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D0E8791 for ; Thu, 13 May 2021 13:55:37 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1620914077.42a99f0f2d7d75aaa76ef7e03fd66f993fd947c4.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-boot/mbr-gpt/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild X-VCS-Directories: sys-boot/mbr-gpt/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 42a99f0f2d7d75aaa76ef7e03fd66f993fd947c4 X-VCS-Branch: master Date: Thu, 13 May 2021 13:55:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bb4f2e71-7461-4c6c-b082-8f599b78a6f3 X-Archives-Hash: ab3c7e3f734087ac25a52f96d36a1766 commit: 42a99f0f2d7d75aaa76ef7e03fd66f993fd947c4 Author: Sam James gentoo org> AuthorDate: Thu May 13 13:54:37 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Thu May 13 13:54:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42a99f0f sys-boot/mbr-gpt: drop unused flag-o-matic inherit Signed-off-by: David Seifert gentoo.org> sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild b/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild index 294caff68d9..3073a1e1cfe 100644 --- a/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild +++ b/sys-boot/mbr-gpt/mbr-gpt-0.0.1-r1.ebuild @@ -3,19 +3,20 @@ EAPI=7 -inherit flag-o-matic toolchain-funcs +inherit toolchain-funcs DESCRIPTION="An MBR that can handle BIOS-based boot on GPT" MY_P="${PN}_${PV}" HOMEPAGE="https://web.archive.org/web/20080704173538/http://aybabtu.com/mbr-gpt/" SRC_URI="https://dev.gentoo.org/~robbat2/distfiles/${MY_P}.tar.gz" + LICENSE="GPL-3" SLOT="0" # This should probably NEVER go to stable. It's crazy advanced dangerous magic. # It's also pure ASM, so not suitable for elsewhere anyway. # Please don't remove it, robbat2 has a box that depends on it for # booting! KEYWORDS="~amd64 ~x86" -IUSE="" + # It only depends on binutils/gcc/make, and doesn't link against libc even. DEPEND="" RDEPEND="" @@ -30,12 +31,15 @@ RESTRICT="binchecks strip" src_prepare() { default + # Messy upstream emake clean # Need to build it 32-bit for the MBR # Btw, no CFLAGS are respected, it's ASM! - use amd64 && sed -i -e 's/-Wall/-Wall -m32/g' "${S}"/Makefile + if use amd64 ; then + sed -i -e 's/-Wall/-Wall -m32/g' "${S}"/Makefile || die + fi } src_compile() { @@ -47,9 +51,11 @@ src_install() { # location. insinto /usr/lib/${PN} doins mbr + exeinto /usr/lib/${PN} exeopts -m 700 doexe boot.elf + dodoc AUTHORS }