Skip to content

Commit

Permalink
fortran-2.eclass: Only source eclass once
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Lecher <[email protected]>
  • Loading branch information
jlec committed Nov 28, 2015
1 parent 4804fb6 commit cfaabf1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions eclass/fortran-2.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -257,3 +259,5 @@ case ${EAPI:-0} in
*) die "EAPI=${EAPI} is not supported" ;;
esac

_FORTRAN_2_ECLASS=1
fi

0 comments on commit cfaabf1

Please sign in to comment.