From: Justin Lecher Date: Sat, 28 Nov 2015 18:50:33 +0000 (+0100) Subject: fortran-2.eclass: Only source eclass once X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=cfaabf1b214fbe1c257bf12c20dc792f32421bc4;p=gentoo.git fortran-2.eclass: Only source eclass once Signed-off-by: Justin Lecher --- diff --git a/eclass/fortran-2.eclass b/eclass/fortran-2.eclass index 3d80fe15beae..f26621e6b9ab 100644 --- a/eclass/fortran-2.eclass +++ b/eclass/fortran-2.eclass @@ -27,6 +27,8 @@ # # FORTRAN_NEED_OPENMP=1 +if [[ ! ${_FORTRAN_2_CLASS} ]]; then + # @ECLASS-VARIABLE: FORTRAN_NEED_OPENMP # @DESCRIPTION: # Set to "1" in order to automatically have the eclass abort if the fortran @@ -257,3 +259,5 @@ case ${EAPI:-0} in *) die "EAPI=${EAPI} is not supported" ;; esac +_FORTRAN_2_ECLASS=1 +fi