diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-21 21:12:52 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-21 21:12:52 +0000 |
commit | f548f99a973aee51adbe8f06ef905dcb80aeb34a (patch) | |
tree | cafbdb5b320cd802e29fab97914300102cda69c7 /eclass | |
parent | Version bump and mark -amd64 as it's not 64-bit safe. (diff) | |
download | historical-f548f99a973aee51adbe8f06ef905dcb80aeb34a.tar.gz historical-f548f99a973aee51adbe8f06ef905dcb80aeb34a.tar.bz2 historical-f548f99a973aee51adbe8f06ef905dcb80aeb34a.zip |
Don't record dependencies when the ebuild phase is test, all those dependencies should be build only.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index d17a2a202953..77442e68c7aa 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -6,7 +6,7 @@ # # Licensed under the GNU General Public License, v2 # -# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.47 2007/01/21 20:31:55 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.48 2007/01/21 21:12:52 betelgeuse Exp $ # ----------------------------------------------------------------------------- @@ -772,7 +772,7 @@ java-pkg_jar-from() { local build_only="" - if [[ "${1}" = "--build-only" ]]; then + if [[ "${1}" = "--build-only" || "${EBUILD_PHASE}" == "test" ]]; then build_only="true" shift fi @@ -857,7 +857,7 @@ java-pkg_jarfrom() { java-pkg_getjars() { debug-print-function ${FUNCNAME} $* - if [[ "${1}" = "--build-only" ]]; then + if [[ "${1}" = "--build-only" || "${EBUILD_PHASE}" == "test" ]]; then local build_only="true" shift fi @@ -917,7 +917,7 @@ java-pkg_getjar() { local build_only="" - if [[ "${1}" = "--build-only" ]]; then + if [[ "${1}" = "--build-only" || "${EBUILD_PHASE}" == "test" ]]; then build_only="true" shift fi |