commit:     60500ef80f4bfc1040288739af9c7115c822138c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  6 13:34:04 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Mar  6 13:34:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60500ef8

dev-lang/haxe: fix build

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 .../haxe/{haxe-4.2.4-r2.ebuild => haxe-4.2.4-r3.ebuild}   | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/dev-lang/haxe/haxe-4.2.4-r2.ebuild 
b/dev-lang/haxe/haxe-4.2.4-r3.ebuild
similarity index 86%
rename from dev-lang/haxe/haxe-4.2.4-r2.ebuild
rename to dev-lang/haxe/haxe-4.2.4-r3.ebuild
index 6a8441c77ab2..e9961fd90005 100644
--- a/dev-lang/haxe/haxe-4.2.4-r2.ebuild
+++ b/dev-lang/haxe/haxe-4.2.4-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
 DESCRIPTION="Multi-target universal programming language"
 HOMEPAGE="https://haxe.org/";
 
-if [[ "${PV}" == *9999* ]]; then
+if [[ "${PV}" == *9999* ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/HaxeFoundation/haxe.git";
 else
@@ -56,18 +56,11 @@ src_configure() {
 }
 
 src_compile() {
-       local mymakeargs=(
-               BRANCH=""
-               COMMIT_DATE=""
-               COMMIT_SHA=""
-               OCAMLOPT=${OCAMLOPT}
-               INSTALL_DIR=/usr
-       )
-       emake -j1
+       emake -j1 BRANCH="" COMMIT_DATE="" COMMIT_SHA=""  \
+                 OCAMLOPT="${OCAMLOPT}" INSTALL_DIR=/usr
 }
 
 src_install() {
        emake DESTDIR="${D}" INSTALL_DIR=/usr install
-
        dodoc *.md
 }

Reply via email to