commit: 873d874069600e85391fd46206665c70751f0beb Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Dec 29 03:57:59 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Dec 29 03:57:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=873d8740
app-text/ocrad: don't call AR directly Closes: https://bugs.gentoo.org/722474 Signed-off-by: Sam James <sam <AT> gentoo.org> app-text/ocrad/ocrad-0.27.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app-text/ocrad/ocrad-0.27.ebuild b/app-text/ocrad/ocrad-0.27.ebuild index d7001dd7c77e..be1acd75228b 100644 --- a/app-text/ocrad/ocrad-0.27.ebuild +++ b/app-text/ocrad/ocrad-0.27.ebuild @@ -13,9 +13,9 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ppc ppc64 ~sparc x86" -DEPEND="$(unpacker_src_uri_depends)" +BDEPEND="$(unpacker_src_uri_depends)" -DOCS="AUTHORS ChangeLog NEWS README" +DOCS=( AUTHORS ChangeLog NEWS README ) src_configure() { # ./configure is not based on autotools @@ -27,8 +27,13 @@ src_configure() { --prefix=/usr || die } +src_compile() { + emake AR="$(tc-getAR)" +} + src_install() { default + doman doc/${PN}.1 doinfo doc/${PN}.info }
