Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 689832 Details for
Bug 774699
sys-apps/groff: EAPI 7 request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix.patch
0001-sys-apps-groff-EAPI-7.patch (text/plain), 2.26 KB, created by
David Michael
on 2021-03-07 16:23:31 UTC
(
hide
)
Description:
fix.patch
Filename:
MIME Type:
Creator:
David Michael
Created:
2021-03-07 16:23:31 UTC
Size:
2.26 KB
patch
obsolete
>From 64b695d932041c947aa8f60c489605f67de87cde Mon Sep 17 00:00:00 2001 >From: David Michael <fedora.dm0@gmail.com> >Date: Sun, 7 Mar 2021 11:23:13 -0500 >Subject: [PATCH] sys-apps/groff: EAPI 7 > >Closes: https://bugs.gentoo.org/774699 >Package-Manager: Portage-3.0.13, Repoman-3.0.2 >Signed-off-by: David Michael <fedora.dm0@gmail.com> >--- > sys-apps/groff/groff-1.22.4.ebuild | 36 ++++++++++++++---------------- > 1 file changed, 17 insertions(+), 19 deletions(-) > >diff --git a/sys-apps/groff/groff-1.22.4.ebuild b/sys-apps/groff/groff-1.22.4.ebuild >index 375b70f0e78..6fb657f4757 100644 >--- a/sys-apps/groff/groff-1.22.4.ebuild >+++ b/sys-apps/groff/groff-1.22.4.ebuild >@@ -1,7 +1,7 @@ > # Copyright 1999-2021 Gentoo Authors > # Distributed under the terms of the GNU General Public License v2 > >-EAPI=6 >+EAPI=7 > > inherit toolchain-funcs > >@@ -21,14 +21,15 @@ IUSE="examples uchardet X" > RDEPEND=" > uchardet? ( app-i18n/uchardet ) > X? ( >+ x11-libs/libICE >+ x11-libs/libSM > x11-libs/libX11 >- x11-libs/libXt >- x11-libs/libXmu > x11-libs/libXaw >- x11-libs/libSM >- x11-libs/libICE >+ x11-libs/libXmu >+ x11-libs/libXt > )" >-DEPEND="${RDEPEND} >+DEPEND="${RDEPEND}" >+BDEPEND=" > dev-lang/perl > sys-apps/texinfo" > >@@ -70,16 +71,13 @@ src_configure() { > } > > src_compile() { >- if tc-is-cross-compiler ; then >- local CROSS_ARGS=( >- GROFFBIN="$(type -P groff)" >- TROFFBIN="$(type -P troff)" >- GROFF_BIN_DIR= >- GROFF_BIN_PATH= >- ) >- else >- unset CROSS_ARGS >- fi >+ local -a CROSS_ARGS >+ tc-is-cross-compiler && CROSS_ARGS+=( >+ GROFFBIN="$(type -P groff)" >+ TROFFBIN="$(type -P troff)" >+ GROFF_BIN_DIR= >+ GROFF_BIN_PATH= >+ ) > > emake AR="$(tc-getAR)" "${CROSS_ARGS[@]}" > } >@@ -93,11 +91,11 @@ src_install() { > > if ! use examples ; then > # The pdf files might not be generated if ghostscript is unavailable. #602020 >- local pdf="${ED%/}/usr/share/doc/${PF}/examples/mom/mom-pdf.pdf" >+ local pdf="${ED}/usr/share/doc/${PF}/examples/mom/mom-pdf.pdf" > if [[ -e ${pdf} ]] ; then > # Keep mom-pdf.pdf since it's more of a manual than an example. #454196 #516732 >- mv "${pdf}" "${ED%/}"/usr/share/doc/${PF}/pdf/ || die >+ mv "${pdf}" "${ED}/usr/share/doc/${PF}/pdf/" || die > fi >- rm -rf "${ED%/}"/usr/share/doc/${PF}/examples >+ rm -rf "${ED}/usr/share/doc/${PF}/examples" > fi > } >-- >2.26.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 774699
: 689832