commit:     391a9aa6b842be163119717cfe39b9960679e5cf
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 06:21:46 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 06:36:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391a9aa6

sys-apps/findutils: use LFS (again); add missing dejagnu test dep

- Enable LFS (and time64) again, see ee514defae182ae2efb4e38cddacdbb523783093;
  not sure when it got lost.

- Automagically runs more tests when dejagnu is installed, so
  BDEPEND on it for tests.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...utils-4.9.0.ebuild => findutils-4.9.0-r1.ebuild} | 21 +++++++++++++++------
 1 file changed, 15 insertions(+), 6 deletions(-)

diff --git a/sys-apps/findutils/findutils-4.9.0.ebuild 
b/sys-apps/findutils/findutils-4.9.0-r1.ebuild
similarity index 88%
rename from sys-apps/findutils/findutils-4.9.0.ebuild
rename to sys-apps/findutils/findutils-4.9.0-r1.ebuild
index 87b3edc629d7..520964bef11f 100644
--- a/sys-apps/findutils/findutils-4.9.0.ebuild
+++ b/sys-apps/findutils/findutils-4.9.0-r1.ebuild
@@ -18,12 +18,19 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k 
~mips ppc ppc64 ~riscv
 IUSE="nls selinux static test"
 RESTRICT="!test? ( test )"
 
-RDEPEND="selinux? ( sys-libs/libselinux )
-       nls? ( virtual/libintl )"
-DEPEND="${RDEPEND}
-       test? ( ${PYTHON_DEPS} )"
-BDEPEND="nls? ( sys-devel/gettext )
-       verify-sig? ( sec-keys/openpgp-keys-findutils )"
+RDEPEND="
+       selinux? ( sys-libs/libselinux )
+       nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       nls? ( sys-devel/gettext )
+       test? (
+               ${PYTHON_DEPS}
+               dev-util/dejagnu
+       )
+       verify-sig? ( sec-keys/openpgp-keys-findutils )
+"
 
 pkg_setup() {
        use test && python-any-r1_pkg_setup
@@ -46,6 +53,8 @@ src_configure() {
                append-ldflags -static
        fi
 
+       append-lfs-flags
+
        if [[ ${CHOST} == *-darwin* ]] ; then
                # 
https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00050.html
                # 
https://lists.gnu.org/archive/html/bug-findutils/2021-01/msg00051.html

Reply via email to