commit: 11905dd5c932718efa65819bc1d2b078dbf617c1
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 31 02:41:46 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 20 22:01:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11905dd5
freedict.eclass: add inherit guard
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/freedict.eclass | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass
index 20603adc842..47b203307e5 100644
--- a/eclass/freedict.eclass
+++ b/eclass/freedict.eclass
@@ -12,6 +12,9 @@
# This eclass exists to ease the installation of freedict translation
# dictionaries.
+if [[ -z ${_FREEDICT_ECLASS} ]]; then
+_FREEDICT_ECLASS=1
+
# @ECLASS-VARIABLE: FREEDICT_P
# @DESCRIPTION:
# Strips PN of 'freedict' prefix, to be used in SRC_URI and doins
@@ -45,3 +48,5 @@ freedict_src_install() {
}
EXPORT_FUNCTIONS src_install
+
+fi