summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-04-03 20:51:01 +0200
committerDavid Seifert <soap@gentoo.org>2022-04-03 20:51:01 +0200
commit1a9044ecdc82f45941dc2bbec3a30b4555e20233 (patch)
treef2b500449e19a95e1f490e5c7177e7666288126e /sys-block/megarc
parentfont.eclass: Support EAPI 8 (diff)
downloadgentoo-1a9044ecdc82f45941dc2bbec3a30b4555e20233.tar.gz
gentoo-1a9044ecdc82f45941dc2bbec3a30b4555e20233.tar.bz2
gentoo-1a9044ecdc82f45941dc2bbec3a30b4555e20233.zip
sys-block/megarc: do not require multilib profile
Closes: https://bugs.gentoo.org/672324 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-block/megarc')
-rw-r--r--sys-block/megarc/megarc-1.11-r3.ebuild24
1 files changed, 9 insertions, 15 deletions
diff --git a/sys-block/megarc/megarc-1.11-r3.ebuild b/sys-block/megarc/megarc-1.11-r3.ebuild
index 096122d4a4f7..a352a738c3d0 100644
--- a/sys-block/megarc/megarc-1.11-r3.ebuild
+++ b/sys-block/megarc/megarc-1.11-r3.ebuild
@@ -1,9 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="8"
-
-inherit multilib
+EAPI=8
MY_PN="ut_linux_megarc"
MY_PV="${PV//./-}"
@@ -20,6 +18,7 @@ HOMEPAGE="http://www.avagotech.com/cs/Satellite?q=megacli&pagename=AVG2%2Fsearch
SRC_URI="
https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_P}.zip
https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/README_FOR_${MY_P}-zip.txt"
+S="${WORKDIR}"
LICENSE="LSI"
SLOT="0"
@@ -27,23 +26,18 @@ SLOT="0"
# can remove the distfiles from their mirror anytime.
KEYWORDS="~amd64 ~x86"
IUSE="doc"
-
-DEPEND="app-arch/unzip
- doc? ( app-text/antiword )"
-RDEPEND=""
-
RESTRICT="mirror bindist"
-S="${WORKDIR}"
+BDEPEND="
+ app-arch/unzip
+ doc? ( app-text/antiword )"
QA_PREBUILT="/opt/bin/megarc"
-pkg_setup() {
- use amd64 && { has_multilib_profile || die "needs multilib profile on amd64"; }
-}
-
src_compile() {
- use doc && antiword ut_linux.doc > ${PN}-manual.txt
+ if use doc; then
+ antiword ut_linux.doc > ${PN}-manual.txt || die
+ fi
}
src_install() {