diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-01 18:29:43 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-12-01 19:38:24 +0000 |
commit | 23401467319b8ec5d092057ac6fada11865adfb5 (patch) | |
tree | 227440a7bad22ab2bd7e051f6f8eb342c4059261 /sys-apps | |
parent | sys-apps/mawk: Remove dep on app-eselect/eselect-awk (diff) | |
download | gentoo-23401467319b8ec5d092057ac6fada11865adfb5.tar.gz gentoo-23401467319b8ec5d092057ac6fada11865adfb5.tar.bz2 gentoo-23401467319b8ec5d092057ac6fada11865adfb5.zip |
sys-apps/nawk: Remove dep on app-eselect/eselect-awk
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/28495
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/nawk/nawk-20180827-r1.ebuild (renamed from sys-apps/nawk/nawk-20180827.ebuild) | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sys-apps/nawk/nawk-20180827.ebuild b/sys-apps/nawk/nawk-20180827-r1.ebuild index d3ddf5c3f048..3e5c1d65b36b 100644 --- a/sys-apps/nawk/nawk-20180827.ebuild +++ b/sys-apps/nawk/nawk-20180827-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -13,12 +13,9 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux" -RDEPEND=" - app-eselect/eselect-awk" - DEPEND=" - ${RDEPEND} - virtual/yacc" + virtual/yacc +" S="${WORKDIR}/awk-${PV}" @@ -48,9 +45,15 @@ src_install() { } pkg_postinst() { - eselect awk update ifunset + if has_version app-admin/eselect && has_version app-eselect/eselect-awk + then + eselect awk update ifunset + fi } pkg_postrm() { - eselect awk update ifunset + if has_version app-admin/eselect && has_version app-eselect/eselect-awk + then + eselect awk update ifunset + fi } |