summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-05-30 08:21:18 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-05-30 08:21:18 +0000
commite783b7441927c03c73d281a6c01c19c3f3a74ff4 (patch)
tree37a27908d8c72b79f3f8f696d94bf542afeecff6 /eclass/ant-tasks.eclass
parent-p (diff)
downloadhistorical-e783b7441927c03c73d281a6c01c19c3f3a74ff4.tar.gz
historical-e783b7441927c03c73d281a6c01c19c3f3a74ff4.tar.bz2
historical-e783b7441927c03c73d281a6c01c19c3f3a74ff4.zip
Set prefix for ant-1.8.4
Diffstat (limited to 'eclass/ant-tasks.eclass')
-rw-r--r--eclass/ant-tasks.eclass11
1 files changed, 9 insertions, 2 deletions
diff --git a/eclass/ant-tasks.eclass b/eclass/ant-tasks.eclass
index 68ff0a072d64..b578802385bd 100644
--- a/eclass/ant-tasks.eclass
+++ b/eclass/ant-tasks.eclass
@@ -3,7 +3,7 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Vlastimil Babka <caster@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.11 2012/03/03 22:39:14 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ant-tasks.eclass,v 1.12 2012/05/30 08:21:18 sera Exp $
# we set ant-core dep ourselves, restricted
JAVA_ANT_DISABLE_ANT_CORE_DEP=true
@@ -89,7 +89,14 @@ else
# default for final releases
MY_PV=${PV}
UPSTREAM_PREFIX="mirror://apache/ant/source"
- GENTOO_PREFIX="http://dev.gentoo.org/~caster/distfiles"
+ case ${PV} in
+ 1.8.4)
+ GENTOO_PREFIX="http://dev.gentoo.org/~sera/distfiles"
+ ;;
+ *)
+ GENTOO_PREFIX="http://dev.gentoo.org/~caster/distfiles"
+ ;;
+ esac
fi
# source/workdir name