commit: b9b9bbe0f861fd54e2cd4ec838c3dced0e94ac77 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Fri Dec 29 10:41:50 2023 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Fri Dec 29 10:41:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9b9bbe0
net-print/cups-pdf: update EAPI 7 -> 8 Signed-off-by: David Seifert <soap <AT> gentoo.org> .../{cups-pdf-3.0.1-r2.ebuild => cups-pdf-3.0.1-r3.ebuild} | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/net-print/cups-pdf/cups-pdf-3.0.1-r2.ebuild b/net-print/cups-pdf/cups-pdf-3.0.1-r3.ebuild similarity index 84% rename from net-print/cups-pdf/cups-pdf-3.0.1-r2.ebuild rename to net-print/cups-pdf/cups-pdf-3.0.1-r3.ebuild index 0a7504e127f7..ed52b55cd752 100644 --- a/net-print/cups-pdf/cups-pdf-3.0.1-r2.ebuild +++ b/net-print/cups-pdf/cups-pdf-3.0.1-r3.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 inherit toolchain-funcs @@ -16,16 +16,17 @@ KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86" IUSE="+ppds" DEPEND="net-print/cups" - RDEPEND="${DEPEND} >=app-text/ghostscript-gpl-9.54" PATCHES=( "${FILESDIR}"/${PN}-3.0.1-ghostscript-gpl-9.54-compat.patch ) +src_configure() { + tc-export CC +} + src_compile() { - pushd src &>/dev/null || die - $(tc-getCC) ${LDFLAGS} ${CFLAGS} ${PN}.c -o ${PN} -lcups || die - popd &>/dev/null || die + LDLIBS="-lcups" emake -C src ${PN} } src_install() { @@ -43,5 +44,5 @@ src_install() { doins extra/CUPS-PDF_noopt.ppd fi - dodoc ChangeLog README + einstalldocs }