summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-08-20 21:25:52 -0700
committerZac Medico <zmedico@gentoo.org>2020-08-20 21:27:40 -0700
commite5cea9e9a80d823a0f13b3c0cb8f76552efa8bc4 (patch)
treec57ce74e620a3f86fb40d3ec32e766dca4de3b50
parentdev-ruby/gnuplot: add ruby27 (diff)
downloadgentoo-e5cea9e9a80d823a0f13b3c0cb8f76552efa8bc4.tar.gz
gentoo-e5cea9e9a80d823a0f13b3c0cb8f76552efa8bc4.tar.bz2
gentoo-e5cea9e9a80d823a0f13b3c0cb8f76552efa8bc4.zip
app-text/calibre: Respect LDFLAGS for libheadless.so (bug 737884)
Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/737884 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--app-text/calibre/calibre-4.22.0.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/app-text/calibre/calibre-4.22.0.ebuild b/app-text/calibre/calibre-4.22.0.ebuild
index 9f2a4d9ae3b3..70a2d513853b 100644
--- a/app-text/calibre/calibre-4.22.0.ebuild
+++ b/app-text/calibre/calibre-4.22.0.ebuild
@@ -153,6 +153,7 @@ src_prepare() {
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
'-i', 'Makefile'])" \
+ -e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \
-i setup/build.py || die "sed failed to patch build.py"
}