summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/enlightenment.eclass19
1 files changed, 7 insertions, 12 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
index 700085d7..4b8211a4 100644
--- a/eclass/enlightenment.eclass
+++ b/eclass/enlightenment.eclass
@@ -39,16 +39,7 @@ if [[ ${PV/9999} != ${PV} ]] ; then
ECVS_MODULE="e17/apps/${PN}"
fi
fi
-
- # echo "\${ECVS_MODULE/\/*}=${ECVS_MODULE/\/*}"
-
- if [[ ${ECVS_MODULE/\/*} == "e17" ]]; then
- ECVS_SERVER="thinktux.net:/root"
- elif [[ ${ECVS_MODULE/\/*} == "misc" ]]; then
- ECVS_SERVER="thinktux.net:/root"
- fi
-
- ECVS_SERVER=${ECVS_SERVER:-cvs.sourceforge.net:/cvsroot/enlightenment}
+ ECVS_SERVER=${E17_ECVS_SERVER:-${ECVS_SERVER:-cvs.sourceforge.net:/cvsroot/enlightenment}}
ECVS_STATE="live"
inherit cvs
elif [[ ${PV/.200[3-9][0-1][0-9][0-3][0-9]/} != ${PV} ]] ; then
@@ -69,8 +60,8 @@ esac
LICENSE="BSD"
SLOT="0"
case ${EKEY_STATE:-${ECVS_STATE}} in
- release) KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sparc x86";;
- snap) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86";;
+ release) KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86";;
+ snap) KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86";;
live) KEYWORDS="-*";;
esac
IUSE="nls doc"
@@ -96,6 +87,10 @@ enlightenment_warning_msg() {
eerror "If it fails to build, FIX THE CODE YOURSELF"
eerror "before reporting any issues."
fi
+ echo
+ einfo "If you have trouble connecting to the sourceforge cvs"
+ einfo "server, try exporting using the unofficial mirror:"
+ einfo "export E17_ECVS_SERVER=thinktux.net:/root"
}
enlightenment_die() {