commit: 1eee4a79e7c73327f6e2b3dc2b9e52f63a69b7c0 Author: orbea <orbea <AT> riseup <DOT> net> AuthorDate: Tue May 10 22:20:08 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jul 27 20:07:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eee4a79
net-print/cups: Don't use libtool When building cups with LIBTOOL=rlibtool exported in make.conf the build will fail. This happens because slibtool can't determine build information from the generated libtool script that doesn't exist. Its better to just not use libtool at all in this build system. Bug: https://bugs.gentoo.org/843638 Upstream-PR: https://github.com/OpenPrinting/cups/pull/394 Signed-off-by: orbea <orbea <AT> riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25431 Signed-off-by: Sam James <sam <AT> gentoo.org> net-print/cups/cups-2.4.2-r1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/net-print/cups/cups-2.4.2-r1.ebuild b/net-print/cups/cups-2.4.2-r1.ebuild index 98885fee4bcd..0b9465532f39 100644 --- a/net-print/cups/cups-2.4.2-r1.ebuild +++ b/net-print/cups/cups-2.4.2-r1.ebuild @@ -188,6 +188,11 @@ multilib_src_configure() { # makes more sense when facing multilib support. sed -i -e 's:CUPS_SERVERBIN="$exec_prefix/lib/cups":CUPS_SERVERBIN="$exec_prefix/libexec/cups":g' configure ||die + # Don't use the libtool build + # https://bugs.gentoo.org/843638 + # https://github.com/OpenPrinting/cups/pull/394 + unset LIBTOOL + econf "${myeconfargs[@]}" sed -i -e "s:SERVERBIN.*:SERVERBIN = \"\$\(BUILDROOT\)${EPREFIX}/usr/libexec/cups\":" Makedefs || die
