summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-05-10 15:20:08 -0700
committerSam James <sam@gentoo.org>2022-07-27 21:07:33 +0100
commit1eee4a79e7c73327f6e2b3dc2b9e52f63a69b7c0 (patch)
tree3acdd2eb4e699d3ef9394afc806e254b0e8cd2af /net-print/cups
parentgames-server/minecraft-server: add 1.19.1 (diff)
downloadgentoo-1eee4a79e7c73327f6e2b3dc2b9e52f63a69b7c0.tar.gz
gentoo-1eee4a79e7c73327f6e2b3dc2b9e52f63a69b7c0.tar.bz2
gentoo-1eee4a79e7c73327f6e2b3dc2b9e52f63a69b7c0.zip
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@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25431 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-print/cups')
-rw-r--r--net-print/cups/cups-2.4.2-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
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