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

Closes: https://bugs.gentoo.org/934766
Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/37262
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Martin Dummer
2024-06-23 21:40:47 +02:00
committed by Conrad Kostecki
parent 17aacbc60c
commit f2cd6dbe1d
@@ -25,6 +25,9 @@ src_prepare() {
eapply "${FILESDIR}/${P}-gentoo.diff"
eapply "${FILESDIR}/${P}_vdr-1.5.4-compile.diff"
eapply "${FILESDIR}/${P}_compilefix.patch"
# do not call g++ directly, Bug #934766
sed -e 's|MAKEDEP = g++ -MM -MG|MAKEDEP = $(CXX) -MM -MG|' -i Makefile || die
}
src_install() {