summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2024-11-23 19:34:41 +0200
committerViorel Munteanu <ceamac@gentoo.org>2024-11-23 19:55:09 +0200
commit34b0c0c80cf579f67b59f9e3dee836f6d6e8279e (patch)
tree78b85769980ba25e4bf1915078f32ec156fea52f /app-misc/mc
parentmedia-libs/netpbm: drop 11.2.10 (diff)
downloadgentoo-34b0c0c80cf579f67b59f9e3dee836f6d6e8279e.tar.gz
gentoo-34b0c0c80cf579f67b59f9e3dee836f6d6e8279e.tar.bz2
gentoo-34b0c0c80cf579f67b59f9e3dee836f6d6e8279e.zip
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>
Diffstat (limited to 'app-misc/mc')
-rw-r--r--app-misc/mc/mc-4.8.30-r2.ebuild20
1 files changed, 11 insertions, 9 deletions
diff --git a/app-misc/mc/mc-4.8.30-r2.ebuild b/app-misc/mc/mc-4.8.30-r2.ebuild
index aebf71e0e108..c2cfc874cdb0 100644
--- a/app-misc/mc/mc-4.8.30-r2.ebuild
+++ b/app-misc/mc/mc-4.8.30-r2.ebuild
@@ -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