media-plugins/vdr-newsticker: dont call g++ directly

Closes: https://bugs.gentoo.org/937317
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Part-of: https://github.com/gentoo/gentoo/pull/39896
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Martin Dummer 2024-08-05 20:27:11 +02:00 committed by Sam James
parent 57c5683b7f
commit 242348bd2a
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -23,6 +23,12 @@ QA_FLAGS_IGNORED="
usr/lib/vdr/plugins/libvdr-.*
usr/lib64/vdr/plugins/libvdr-.*"
src_prepare() {
# do not call g++ directly
sed -e 's|= g++|= $(CXX)|' -i Makefile || die
vdr-plugin-2_src_prepare
}
src_install() {
vdr-plugin-2_src_install