net-print/cups-pdf: Force working ghostscript-gpl version

Bug: https://bugs.gentoo.org/779706
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-04-20 23:47:17 +02:00
parent c44bb9716e
commit 728e6e0102

View File

@@ -8,6 +8,7 @@ inherit toolchain-funcs
DESCRIPTION="Provides a virtual printer for CUPS to produce PDF files"
HOMEPAGE="https://www.cups-pdf.de/"
SRC_URI="https://www.cups-pdf.de/src/${PN}_${PV/_}.tar.gz"
S=${WORKDIR}/${PN}-${PV/_}
LICENSE="GPL-2+"
SLOT="0"
@@ -16,12 +17,10 @@ IUSE="+ppds"
RDEPEND="
net-print/cups
app-text/ghostscript-gpl
<app-text/ghostscript-gpl-9.54
"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}-${PV/_}
src_compile() {
pushd src >/dev/null
$(tc-getCC) ${LDFLAGS} ${CFLAGS} ${PN}.c -o ${PN} -lcups || die