commit:     946608f9642649930a98cb25593ab460a8b3c8a6
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 16:08:19 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 16:23:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946608f9

app-misc/fdupes: sync live

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-misc/fdupes/fdupes-9999.ebuild | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)

diff --git a/app-misc/fdupes/fdupes-9999.ebuild 
b/app-misc/fdupes/fdupes-9999.ebuild
index 2e3d8e6c3b57..c735e2285b46 100644
--- a/app-misc/fdupes/fdupes-9999.ebuild
+++ b/app-misc/fdupes/fdupes-9999.ebuild
@@ -1,10 +1,8 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit toolchain-funcs
-
 DESCRIPTION="Identify/delete duplicate files residing within specified 
directories"
 HOMEPAGE="https://github.com/adrianlopezroche/fdupes";
 if [[ ${PV} == *9999 ]] ; then
@@ -17,11 +15,12 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="+ncurses"
+IUSE="+ncurses sqlite"
 
 RDEPEND="
-       dev-libs/libpcre2[pcre32]
+       dev-libs/libpcre2:=[pcre32]
        ncurses? ( sys-libs/ncurses:= )
+       sqlite? ( dev-db/sqlite:3 )
 "
 DEPEND="${RDEPEND}"
 BDEPEND="virtual/pkgconfig"
@@ -35,9 +34,5 @@ src_prepare() {
 }
 
 src_configure() {
-       econf $(use_with ncurses)
-}
-
-src_compile() {
-       emake CC="$(tc-getCC)"
+       econf $(use_with ncurses) $(use_with sqlite)
 }

Reply via email to