diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-10-05 16:53:38 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-10-05 16:53:38 +0000 |
commit | 4989c698a2c0e27211f2f69798b424295b9d747b (patch) | |
tree | dedab8077bbd836cda7f8b0a3cf86378e121e5c5 /eclass/java-utils-2.eclass | |
parent | Migrate to stax-api virtual. (diff) | |
download | historical-4989c698a2c0e27211f2f69798b424295b9d747b.tar.gz historical-4989c698a2c0e27211f2f69798b424295b9d747b.tar.bz2 historical-4989c698a2c0e27211f2f69798b424295b9d747b.zip |
Make EXPORT_FUNCTIONS conditional now that I figured out why it was dying.
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r-- | eclass/java-utils-2.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index e2a5ea7a1daa..15e07fe4755f 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.114 2008/10/01 15:43:55 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.115 2008/10/05 16:53:38 betelgeuse Exp $ # ----------------------------------------------------------------------------- # @eclass-begin @@ -37,6 +37,8 @@ IUSE="elibc_FreeBSD" # Make sure we use java-config-2 export WANT_JAVA_CONFIG="2" +[[ "${EAPI:-0}" == "2" ]] && EXPORT_FUNCTIONS src_prepare + # ----------------------------------------------------------------------------- # @variable-external WANT_ANT_TASKS # @variable-default "" @@ -2731,7 +2733,6 @@ is-java-strict() { return $? } -EXPORT_FUNCTIONS src_prepare # ------------------------------------------------------------------------------ # @eclass-end |