commit:     95913f05ac8a6b0f0234cdf9202d00438f0b651e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 20:50:00 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 20:51:26 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95913f05

dev-ada/e3-core: fix rlimit path

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../{e3-core-22.6.0-r1.ebuild => e3-core-22.6.0-r2.ebuild}   | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/dev-ada/e3-core/e3-core-22.6.0-r1.ebuild 
b/dev-ada/e3-core/e3-core-22.6.0-r2.ebuild
similarity index 88%
rename from dev-ada/e3-core/e3-core-22.6.0-r1.ebuild
rename to dev-ada/e3-core/e3-core-22.6.0-r2.ebuild
index 32670e618cef..bb258b7f4c04 100644
--- a/dev-ada/e3-core/e3-core-22.6.0-r1.ebuild
+++ b/dev-ada/e3-core/e3-core-22.6.0-r2.ebuild
@@ -47,7 +47,17 @@ python_compile() {
 }
 
 src_compile() {
-       local PLATFORM=x86_64-linux
+       local PLATFORM
+       if use amd64; then
+               PLATFORM=x86_64
+       elif use x86; then
+               PLATFORM=x86
+       elif use arm64; then
+               PLATFORM=aarch64
+       else
+               die "Not a recognized platform"
+       fi
+       PLATFORM+="-linux"
        rm src/e3/os/data/rlimit* || die
        $(tc-getCC) ${CFLAGS} -o src/e3/os/data/rlimit-${PLATFORM} \
                tools/rlimit/rlimit.c ${LDFLAGS}

Reply via email to