mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
boinc.eclass: fix inherit guard usage
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -9,14 +9,12 @@
|
|||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# This eclass provides helper functions to build BOINC applications and libraries.
|
# This eclass provides helper functions to build BOINC applications and libraries.
|
||||||
|
|
||||||
inherit autotools toolchain-funcs
|
|
||||||
|
|
||||||
case ${EAPI} in
|
case ${EAPI} in
|
||||||
8) ;;
|
8) ;;
|
||||||
*) die "${ECLASS}: EAPI ${EAPI} unsupported."
|
*) die "${ECLASS}: EAPI ${EAPI} unsupported."
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: BOINC_SUBMODULE
|
# @ECLASS_VARIABLE: BOINC_SUBMODULE
|
||||||
# @PRE_INHERIT
|
# @PRE_INHERIT
|
||||||
# @DEFAULT_UNSET
|
# @DEFAULT_UNSET
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
@@ -26,7 +24,7 @@ esac
|
|||||||
#
|
#
|
||||||
# If unset, no functions will be exported.
|
# If unset, no functions will be exported.
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: BOINC_S
|
# @ECLASS_VARIABLE: BOINC_S
|
||||||
# @DEFAULT_UNSET
|
# @DEFAULT_UNSET
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# If defined this variable determines the source directory name after
|
# If defined this variable determines the source directory name after
|
||||||
@@ -34,6 +32,12 @@ esac
|
|||||||
# variable supports a wildcard mechanism to help with github tarballs
|
# variable supports a wildcard mechanism to help with github tarballs
|
||||||
# that contain the commit hash as part of the directory name.
|
# that contain the commit hash as part of the directory name.
|
||||||
|
|
||||||
|
if [[ ! ${_BOINC_ECLASS} ]]; then
|
||||||
|
|
||||||
|
inherit autotools toolchain-funcs
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ${BOINC_SUBMODULE} ]]; then
|
if [[ ${BOINC_SUBMODULE} ]]; then
|
||||||
EXPORT_FUNCTIONS src_unpack src_prepare src_configure
|
EXPORT_FUNCTIONS src_unpack src_prepare src_configure
|
||||||
fi
|
fi
|
||||||
@@ -72,7 +76,7 @@ get_boinc_src() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# @ECLASS-VARIABLE: BOINC_BUILD_DIR
|
# @ECLASS_VARIABLE: BOINC_BUILD_DIR
|
||||||
# @OUTPUT_VARIABLE
|
# @OUTPUT_VARIABLE
|
||||||
# @DESCRIPTION:
|
# @DESCRIPTION:
|
||||||
# Temporary build directory, where BOINC sources are located.
|
# Temporary build directory, where BOINC sources are located.
|
||||||
|
|||||||
Reference in New Issue
Block a user