summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2021-02-12 12:52:26 +0100
committerJoerg Bornkessel <hd_brummy@gentoo.org>2021-02-12 12:52:26 +0100
commitbb5501e8d8fb91066442ca76e37112056389391e (patch)
tree0b4295bd1ee181c0b94874227dba1b724713e43b
parentmedia-sound/lilypond: +2.23.0, dropped guile2 use flag, updated live (diff)
downloadgentoo-bb5501e8d8fb91066442ca76e37112056389391e.tar.gz
gentoo-bb5501e8d8fb91066442ca76e37112056389391e.tar.bz2
gentoo-bb5501e8d8fb91066442ca76e37112056389391e.zip
media-plugins/vdr-pin: respect LDFLAGS fixed
Closes: https://bugs.gentoo.org/770172 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
-rw-r--r--media-plugins/vdr-pin/vdr-pin-0.1.17-r1.ebuild (renamed from media-plugins/vdr-pin/vdr-pin-0.1.17.ebuild)5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-plugins/vdr-pin/vdr-pin-0.1.17.ebuild b/media-plugins/vdr-pin/vdr-pin-0.1.17-r1.ebuild
index 4f7da428172..2ec193c3f29 100644
--- a/media-plugins/vdr-pin/vdr-pin-0.1.17.ebuild
+++ b/media-plugins/vdr-pin/vdr-pin-0.1.17-r1.ebuild
@@ -24,7 +24,10 @@ S="${WORKDIR}/vdr-plugin-pin-${VERSION_GIT}"
src_prepare() {
vdr-plugin-2_src_prepare
- sed -i "s:INCLUDES += -I\$(VDRINCDIR):INCLUDES += -I\$(VDRDIR)/include:" Makefile
+ sed -i "s:INCLUDES += -I\$(VDRINCDIR):INCLUDES += -I\$(VDRDIR)/include:" Makefile | die "sed failed"
+
+ # respect LDFLAGS, bug 770172
+ sed -i "s:\$(CXXFLAGS) \$(CMDOBJS):\$(CXXFLAGS) \$(LDFLAGS) \$(CMDOBJS):" Makefile | die "sed failed"
}
src_install() {