From: Robin H. Johnson Date: Mon, 28 Aug 2017 19:08:03 +0000 (-0700) Subject: dev-libs/openssl: bug 629224: fix global tr. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=afff3103d8b81f06058e0b0028bd19f8decca724;p=gentoo.git dev-libs/openssl: bug 629224: fix global tr. Package-Manager: Portage-2.3.6, Repoman-2.3.3 Signed-off-by: Robin H. Johnson --- diff --git a/dev-libs/openssl/openssl-0.9.8z_p8.ebuild b/dev-libs/openssl/openssl-0.9.8z_p8.ebuild index cc1b39afb2cb..f6a3c0025f10 100644 --- a/dev-libs/openssl/openssl-0.9.8z_p8.ebuild +++ b/dev-libs/openssl/openssl-0.9.8z_p8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # this ebuild is only for the libcrypto.so.0.9.8 and libssl.so.0.9.8 SONAME for ABI compat @@ -7,7 +7,8 @@ EAPI="5" inherit eutils flag-o-matic toolchain-funcs multilib multilib-minimal -PLEVEL=$(echo "${PV##*_p}" | tr '[1-9]' '[a-i]') +#PLEVEL=$(printf "\\$(printf '%03o' $((${PV##*_p} + 96)))") +PLEVEL='h' # _p8 -> tr '[1-9]' '[a-i]' -> 'h' MY_PV=${PV/_p*/${PLEVEL}} MY_P=${PN}-${MY_PV} S="${WORKDIR}/${MY_P}"