From: | David Seifert <soap@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: sys-block/megarc/ |
Date: | Sun, 03 Apr 2022 18:51:26 |
Message-Id: | 1649011861.1a9044ecdc82f45941dc2bbec3a30b4555e20233.soap@gentoo |
1 | commit: 1a9044ecdc82f45941dc2bbec3a30b4555e20233 |
2 | Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 | AuthorDate: Sun Apr 3 18:51:01 2022 +0000 |
4 | Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 | CommitDate: Sun Apr 3 18:51:01 2022 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a9044ec |
7 | |
8 | sys-block/megarc: do not require multilib profile |
9 | |
10 | Closes: https://bugs.gentoo.org/672324 |
11 | Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 | |
13 | sys-block/megarc/megarc-1.11-r3.ebuild | 24 +++++++++--------------- |
14 | 1 file changed, 9 insertions(+), 15 deletions(-) |
15 | |
16 | diff --git a/sys-block/megarc/megarc-1.11-r3.ebuild b/sys-block/megarc/megarc-1.11-r3.ebuild |
17 | index 096122d4a4f7..a352a738c3d0 100644 |
18 | --- a/sys-block/megarc/megarc-1.11-r3.ebuild |
19 | +++ b/sys-block/megarc/megarc-1.11-r3.ebuild |
20 | @@ -1,9 +1,7 @@ |
21 | -# Copyright 1999-2021 Gentoo Authors |
22 | +# Copyright 1999-2022 Gentoo Authors |
23 | # Distributed under the terms of the GNU General Public License v2 |
24 | |
25 | -EAPI="8" |
26 | - |
27 | -inherit multilib |
28 | +EAPI=8 |
29 | |
30 | MY_PN="ut_linux_megarc" |
31 | MY_PV="${PV//./-}" |
32 | @@ -20,6 +18,7 @@ HOMEPAGE="http://www.avagotech.com/cs/Satellite?q=megacli&pagename=AVG2%2Fsearch |
33 | SRC_URI=" |
34 | https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${MY_P}.zip |
35 | https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/README_FOR_${MY_P}-zip.txt" |
36 | +S="${WORKDIR}" |
37 | |
38 | LICENSE="LSI" |
39 | SLOT="0" |
40 | @@ -27,23 +26,18 @@ SLOT="0" |
41 | # can remove the distfiles from their mirror anytime. |
42 | KEYWORDS="~amd64 ~x86" |
43 | IUSE="doc" |
44 | - |
45 | -DEPEND="app-arch/unzip |
46 | - doc? ( app-text/antiword )" |
47 | -RDEPEND="" |
48 | - |
49 | RESTRICT="mirror bindist" |
50 | |
51 | -S="${WORKDIR}" |
52 | +BDEPEND=" |
53 | + app-arch/unzip |
54 | + doc? ( app-text/antiword )" |
55 | |
56 | QA_PREBUILT="/opt/bin/megarc" |
57 | |
58 | -pkg_setup() { |
59 | - use amd64 && { has_multilib_profile || die "needs multilib profile on amd64"; } |
60 | -} |
61 | - |
62 | src_compile() { |
63 | - use doc && antiword ut_linux.doc > ${PN}-manual.txt |
64 | + if use doc; then |
65 | + antiword ut_linux.doc > ${PN}-manual.txt || die |
66 | + fi |
67 | } |
68 | |
69 | src_install() { |