app-misc/mc: fix pkgcheck warnings

Reorder the variables to fix some warnings.
I will not drop this version yet, keep it around for bug #941194.

Bug: https://bugs.gentoo.org/941194
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2024-11-23 19:34:41 +02:00
parent 1b5e8cbf15
commit 34b0c0c80c

View File

@@ -6,17 +6,18 @@ EAPI=8
inherit autotools flag-o-matic
MY_P="${P/_/-}"
SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz"
KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
DESCRIPTION="GNU Midnight Commander is a text based file manager"
HOMEPAGE="https://midnight-commander.org"
SRC_URI="http://ftp.midnight-commander.org/${MY_P}.tar.xz"
S="${WORKDIR}/${MY_P}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
IUSE="+edit gpm nls sftp +slang spell test unicode X"
REQUIRED_USE="spell? ( edit )"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-libs/glib-2.30.0:2
@@ -34,8 +35,12 @@ DEPEND="
x11-libs/libSM
)
"
RDEPEND="${DEPEND}
spell? ( app-dicts/aspell-en )"
RDEPEND="
${DEPEND}
spell? ( app-dicts/aspell-en )
"
BDEPEND="
app-arch/xz-utils
virtual/pkgconfig
@@ -43,10 +48,6 @@ BDEPEND="
test? ( dev-libs/check )
"
RESTRICT="!test? ( test )"
S="${WORKDIR}/${MY_P}"
PATCHES=(
"${FILESDIR}"/${PN}-4.8.26-ncurses-mouse.patch
"${FILESDIR}"/${PN}-4.8.29-gentoo-tools.patch
@@ -103,6 +104,7 @@ src_test() {
# information.
CK_FORK=no emake check VERBOSE=1
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS NEWS README