net-print/cups: install pkg-config files for non native abis

Bug: https://bugs.gentoo.org/968400
Closes: https://bugs.gentoo.org/960534
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45258
Closes: https://github.com/gentoo/gentoo/pull/45258
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-01-05 16:32:10 +02:00
committed by James Le Cuirot
parent 4fdf998a20
commit d7aeb46490
2 changed files with 12 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -230,6 +230,11 @@ multilib_src_install() {
emake BUILDROOT="${D}" install
else
emake BUILDROOT="${D}" install-libs install-headers
# Manually install pkgconfig file to avoid tangling with duplicate file behavior
insinto /usr/$(get_libdir)/pkgconfig
doins cups.pc
dobin cups-config
fi
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -230,6 +230,11 @@ multilib_src_install() {
emake BUILDROOT="${D}" install
else
emake BUILDROOT="${D}" install-libs install-headers
# Manually install pkgconfig file to avoid tangling with duplicate file behavior
insinto /usr/$(get_libdir)/pkgconfig
doins cups.pc
dobin cups-config
fi
}