commit:     cae07e89a6f75ec4c45803666e17ffabf0d24dc7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 10 06:04:56 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 12 22:49:47 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cae07e89

www-servers/gatling: fix ROOT in src_compile (VariableScope)

Signed-off-by: Sam James <sam <AT> gentoo.org>

 www-servers/gatling/gatling-0.16-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-servers/gatling/gatling-0.16-r1.ebuild 
b/www-servers/gatling/gatling-0.16-r1.ebuild
index 6616e0b4eca..828f977142d 100644
--- a/www-servers/gatling/gatling-0.16-r1.ebuild
+++ b/www-servers/gatling/gatling-0.16-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -44,7 +44,7 @@ src_compile() {
        use ssl && targets+=' tlsgatling'
 
        emake DIET="${DIET}" CC="$(tc-getCC)" \
-                       CFLAGS="${CFLAGS} -I${ROOT}/usr/include/libowfat" \
+                       CFLAGS="${CFLAGS} -I${ESYSROOT}/usr/include/libowfat" \
                        LDFLAGS="${LDFLAGS}" prefix=/usr ${targets}
 }
 

Reply via email to