commit:     45a05ec34477c34d5f3f83fce5a356a5638b647b
Author:     Mark Wright <gienah <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 18 09:43:58 2022 +0000
Commit:     Mark Wright <gienah <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 09:43:58 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a05ec3

dev-lang/teyjus: Use RANLIB to configure the build environment

Use the environment variable RANLIB to configure the build environment.
Thanks to Agostino Sarubbo for reporting.

Closes: https://bugs.gentoo.org/858698
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Mark Wright <gienah <AT> gentoo.org>

 dev-lang/teyjus/teyjus-2.1-r2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-lang/teyjus/teyjus-2.1-r2.ebuild 
b/dev-lang/teyjus/teyjus-2.1-r2.ebuild
index b2cf755e19a0..f6eeceb48b83 100644
--- a/dev-lang/teyjus/teyjus-2.1-r2.ebuild
+++ b/dev-lang/teyjus/teyjus-2.1-r2.ebuild
@@ -55,7 +55,8 @@ src_prepare() {
        bs+="LD = ${LD:-ld}\n"
        bs+="AR(name) =\n"
        bs+="    return(${AR:-ar} cq \$(name))\n"
-       bs+="AS = ${AS:-as}"
+       bs+="AS = ${AS:-as}\n"
+       bs+="RANLIB = ${RANLIB:-ranlib}"
        sed     -e "s@\(OCAMLFLAGS= -w -A\)@\1 -cc ${CC:-gcc} 
${cflags}${lflags}@" \
                -e "s@\(CFLAGS +=\) -g@\1 ${CFLAGS}\n${bs}@" \
                -i "${S}/source/OMakefile" \

Reply via email to