commit:     f2d465249bb54366d84f6c4c9689dbc6cc5cc80f
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 15:05:40 2024 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 15:09:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d46524

sys-block/blktrace: QA direct cc call

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
Closes: https://bugs.gentoo.org/930357

 sys-block/blktrace/blktrace-1.3.0-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/sys-block/blktrace/blktrace-1.3.0-r1.ebuild 
b/sys-block/blktrace/blktrace-1.3.0-r1.ebuild
index f894d58430b3..9f6d161916e2 100644
--- a/sys-block/blktrace/blktrace-1.3.0-r1.ebuild
+++ b/sys-block/blktrace/blktrace-1.3.0-r1.ebuild
@@ -32,12 +32,13 @@ src_compile() {
        emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}"
        if use doc; then
                export VARTEXFONTS="${T}/fonts"
-               emake docs
+               emake docs CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}"
        fi
 }
 
 src_install() {
-       emake install DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man"
+       # Do not remove the CC/FLAGS here; bug 930357
+       emake install DESTDIR="${ED}" prefix="/usr" mandir="/usr/share/man" 
CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${CPPFLAGS}"
        einstalldocs
        use doc && dodoc doc/blktrace.pdf btt/doc/btt.pdf
 }

Reply via email to