summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2023-12-22 02:10:18 -0500
committerSam James <sam@gentoo.org>2023-12-22 08:02:51 +0000
commit703699973641fb38d302d83dba6e3d12d0ea0f61 (patch)
tree32a10d0310fa1d6280194c6cc09b9b443529317a
parentapp-emacs/oauth2: Keyword 0.16 ppc64, #920033 (diff)
downloadgentoo-703699973641fb38d302d83dba6e3d12d0ea0f61.tar.gz
gentoo-703699973641fb38d302d83dba6e3d12d0ea0f61.tar.bz2
gentoo-703699973641fb38d302d83dba6e3d12d0ea0f61.zip
net-print/libcupsfilters: use elibtoolize to fix overlinking
Drops pointless link dependency on: - libfreetype.so.6 - liblcms2_fast_float.so - liblcms2_threaded.so No revbump needed: only libfreetype is versioned, and I don't anticipate it changing before libcupsfilters gets bumped... Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/34412 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--net-print/libcupsfilters/libcupsfilters-2.0.0-r2.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/net-print/libcupsfilters/libcupsfilters-2.0.0-r2.ebuild b/net-print/libcupsfilters/libcupsfilters-2.0.0-r2.ebuild
index 019d1de133d7..d4246fceaba1 100644
--- a/net-print/libcupsfilters/libcupsfilters-2.0.0-r2.ebuild
+++ b/net-print/libcupsfilters/libcupsfilters-2.0.0-r2.ebuild
@@ -3,6 +3,8 @@
EAPI=8
+inherit libtool
+
DESCRIPTION="library for developing printing features, split out of cups-filters"
HOMEPAGE="https://github.com/OpenPrinting/libcupsfilters"
SRC_URI="https://github.com/OpenPrinting/libcupsfilters/releases/download/${PV}/${P}.tar.xz"
@@ -36,6 +38,13 @@ BDEPEND="
test? ( media-fonts/dejavu )
"
+src_prepare() {
+ default
+
+ # respect --as-needed
+ elibtoolize
+}
+
src_configure() {
local myeconfargs=(
--enable-imagefilters