summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/fdupes/fdupes-9999.ebuild15
1 files 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)
}