summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-31 03:41:46 +0100
committerSam James <sam@gentoo.org>2021-06-20 23:01:03 +0100
commit11905dd5c932718efa65819bc1d2b078dbf617c1 (patch)
tree61455874ba09d7f6ba4a3801adf997ffd9d9348d /eclass/freedict.eclass
parentsci-libs/tensorflow: bump 2.5.0 (diff)
downloadgentoo-11905dd5c932718efa65819bc1d2b078dbf617c1.tar.gz
gentoo-11905dd5c932718efa65819bc1d2b078dbf617c1.tar.bz2
gentoo-11905dd5c932718efa65819bc1d2b078dbf617c1.zip
freedict.eclass: add inherit guard
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/freedict.eclass')
-rw-r--r--eclass/freedict.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass
index 20603adc8427..47b203307e52 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