1 |
commit: 873d874069600e85391fd46206665c70751f0beb |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 29 03:57:59 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 29 03:57:59 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=873d8740 |
7 |
|
8 |
app-text/ocrad: don't call AR directly |
9 |
|
10 |
Closes: https://bugs.gentoo.org/722474 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
app-text/ocrad/ocrad-0.27.ebuild | 9 +++++++-- |
14 |
1 file changed, 7 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/app-text/ocrad/ocrad-0.27.ebuild b/app-text/ocrad/ocrad-0.27.ebuild |
17 |
index d7001dd7c77e..be1acd75228b 100644 |
18 |
--- a/app-text/ocrad/ocrad-0.27.ebuild |
19 |
+++ b/app-text/ocrad/ocrad-0.27.ebuild |
20 |
@@ -13,9 +13,9 @@ LICENSE="GPL-2" |
21 |
SLOT="0" |
22 |
KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86" |
23 |
|
24 |
-DEPEND="$(unpacker_src_uri_depends)" |
25 |
+BDEPEND="$(unpacker_src_uri_depends)" |
26 |
|
27 |
-DOCS="AUTHORS ChangeLog NEWS README" |
28 |
+DOCS=( AUTHORS ChangeLog NEWS README ) |
29 |
|
30 |
src_configure() { |
31 |
# ./configure is not based on autotools |
32 |
@@ -27,8 +27,13 @@ src_configure() { |
33 |
--prefix=/usr || die |
34 |
} |
35 |
|
36 |
+src_compile() { |
37 |
+ emake AR="$(tc-getAR)" |
38 |
+} |
39 |
+ |
40 |
src_install() { |
41 |
default |
42 |
+ |
43 |
doman doc/${PN}.1 |
44 |
doinfo doc/${PN}.info |
45 |
} |