aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax P <maxp@trystero.is>2018-12-01 17:47:58 -0800
committerGitHub <noreply@github.com>2018-12-01 17:47:58 -0800
commit8d3501d19fcd1022081adc1cdb0d7048b1157536 (patch)
treee7001f3d9d848ac7dc1d3eca5af95738896f1a72 /eclass/dotnet.eclass
parentInherit mono-env_pkg_setup in pkg_setup() (diff)
downloaddotnet-8d3501d19fcd1022081adc1cdb0d7048b1157536.tar.gz
dotnet-8d3501d19fcd1022081adc1cdb0d7048b1157536.tar.bz2
dotnet-8d3501d19fcd1022081adc1cdb0d7048b1157536.zip
Fixes error nesting mono-env_pkg_setup inside "for"
Diffstat (limited to 'eclass/dotnet.eclass')
-rw-r--r--eclass/dotnet.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index ee97856..335af03 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -31,7 +31,6 @@ IUSE+=" debug developer"
# SET default use flags according on DOTNET_TARGETS
for x in ${USE_DOTNET}; do
- mono-env_pkg_setup
case ${x} in
net45) if [[ ${DOTNET_TARGETS} == *net45* ]]; then IUSE+=" +net45"; else IUSE+=" net45"; fi;;
net40) if [[ ${DOTNET_TARGETS} == *net40* ]]; then IUSE+=" +net40"; else IUSE+=" net40"; fi;;
@@ -44,6 +43,7 @@ done
# @DESCRIPTION: This function set FRAMEWORK
dotnet_pkg_setup() {
EBUILD_FRAMEWORK=""
+ mono-env_pkg_setup
for x in ${USE_DOTNET} ; do
case ${x} in
net45) EBF="4.5"; if use net45; then F="${EBF}";fi;;