summaryrefslogtreecommitdiff
path: root/eclass/aspell-dict-r1.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-26 22:31:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-26 22:31:32 +0000
commit161eaa4b12ca6314376288834bba20b7824d0d77 (patch)
treebf1cf8dcc890afa687bdad1e4454b7668dc78316 /eclass/aspell-dict-r1.eclass
parentb4f6e628608bc652784357168671425b3212457e (diff)
gentoo auto-resync : 26:11:2023 - 22:31:32
Diffstat (limited to 'eclass/aspell-dict-r1.eclass')
-rw-r--r--eclass/aspell-dict-r1.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/aspell-dict-r1.eclass b/eclass/aspell-dict-r1.eclass
index 170edb4cacde..1a3bd0b21b24 100644
--- a/eclass/aspell-dict-r1.eclass
+++ b/eclass/aspell-dict-r1.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: aspell-dict-r1.eclass
@@ -58,7 +58,6 @@ SLOT="0"
RDEPEND="app-text/aspell"
DEPEND="${RDEPEND}"
-BDEPEND="sys-apps/which"
_ASPELL_MAJOR_VERSION=${ASPELL_VERSION:-6}
[[ ${_ASPELL_MAJOR_VERSION} != [56] ]] && die "Unsupported ASPELL_VERSION=${ASPELL_VERSION}"
@@ -68,6 +67,10 @@ unset _ASPELL_MAJOR_VERSION
# @DESCRIPTION:
# The aspell-dict-r1 src_configure function which is exported.
aspell-dict-r1_src_configure() {
+ # configure generates lines like:
+ # `echo "ASPELL = `which $ASPELL`" > Makefile`
+ sed -i -e '/.* = `which/ s:`which:`command -v:' configure || die
+
# Since it's a non-autoconf based script, 'econf' cannot be used.
./configure || die
}