summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Dummer <martin.dummer@gmx.net>2024-07-21 22:55:27 +0200
committerJoonas Niilola <juippis@gentoo.org>2024-08-04 10:03:03 +0300
commit220f698e2ea65da6d89fc1288fcf75b1ae89b16c (patch)
treede101571c21c1e7ba6b8c1dd9803ec478149d413 /media-plugins/vdr-joystick
parentmedia-plugins/vdr-permashift: drop 1.0.4_pre20200301 (diff)
downloadgentoo-220f698e2ea65da6d89fc1288fcf75b1ae89b16c.tar.gz
gentoo-220f698e2ea65da6d89fc1288fcf75b1ae89b16c.tar.bz2
gentoo-220f698e2ea65da6d89fc1288fcf75b1ae89b16c.zip
media-plugins/vdr-joystick: don't call g++ directly
Closes: https://bugs.gentoo.org/936467 Signed-off-by: Martin Dummer <martin.dummer@gmx.net> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-plugins/vdr-joystick')
-rw-r--r--media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild b/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild
index 1abc99bba517..ef59b287b173 100644
--- a/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild
+++ b/media-plugins/vdr-joystick/vdr-joystick-0.0.3.ebuild
@@ -16,6 +16,13 @@ KEYWORDS="~amd64 ~x86"
DEPEND="media-video/vdr"
RDEPEND="${DEPEND}"
+src_prepare() {
+ vdr-plugin-2_src_prepare
+
+ # do not call g++ directly, Bug #936467
+ sed -e 's| g++| $(CXX)|' -i Makefile || die
+}
+
src_install() {
vdr-plugin-2_src_install