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