diff options
author | Mark Wright <gienah@gentoo.org> | 2022-07-18 19:43:58 +1000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2022-07-18 19:43:58 +1000 |
commit | 45a05ec34477c34d5f3f83fce5a356a5638b647b (patch) | |
tree | 55ae94f1c1675b5f0a72312f2b1d6b119873e268 /dev-lang/teyjus | |
parent | dev-lang/tejyjs: Remove old (diff) | |
download | gentoo-45a05ec34477c34d5f3f83fce5a356a5638b647b.tar.gz gentoo-45a05ec34477c34d5f3f83fce5a356a5638b647b.tar.bz2 gentoo-45a05ec34477c34d5f3f83fce5a356a5638b647b.zip |
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@gentoo.org>
Diffstat (limited to 'dev-lang/teyjus')
-rw-r--r-- | dev-lang/teyjus/teyjus-2.1-r2.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
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" \ |