summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <abcd@gentoo.org>2009-09-16 17:09:26 -0400
committerJonathan Callen <abcd@gentoo.org>2009-09-16 17:09:26 -0400
commit86eb0d966f558cba98ec854cf9764ae5b3fbc651 (patch)
tree68ed3a80593d5538ffa5e1bd1bd5cd25ab631c61
parent1e2f71b7e8d075ed0756821c58c24aa3d9c56cf3 (diff)
downloadkde-86eb0d966f558cba98ec854cf9764ae5b3fbc651.tar.gz
kde-86eb0d966f558cba98ec854cf9764ae5b3fbc651.tar.bz2
kde-86eb0d966f558cba98ec854cf9764ae5b3fbc651.zip
[eclass/kde4-base.eclass] Clarify comment for RESTRICT=mirror, simplify regex
-rw-r--r--eclass/kde4-base.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index e8adea921f4..2c75b514810 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -193,9 +193,11 @@ case ${KDEBASE} in
9999*) SLOT="live" ;; # regular live
*) die "Unsupported ${PV}" ;;
esac
- # 4.x.[6789]* and *9999* packages aren't mirrored by Gentoo
+ # This code is to prevent portage from searching GENTOO_MIRRORS for
+ # packages that will never be mirrored. (As they only will ever be in
+ # the overlay).
case ${PV} in
- *9999* | 4.?.[9876]*)
+ *9999* | 4.?.[6-9]?)
RESTRICT+=" mirrors"
;;
esac