diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-10-26 04:08:35 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-10-26 04:08:35 +0000 |
commit | 91294d39699a17e1929358a62c9ea0a10f065349 (patch) | |
tree | bc0e7d7d644a9dd7c03f8f438e1778596d2a4557 /eclass/php.eclass | |
parent | amd64 compile fix (diff) | |
download | historical-91294d39699a17e1929358a62c9ea0a10f065349.tar.gz historical-91294d39699a17e1929358a62c9ea0a10f065349.tar.bz2 historical-91294d39699a17e1929358a62c9ea0a10f065349.zip |
fix bug #30403
Diffstat (limited to 'eclass/php.eclass')
-rw-r--r-- | eclass/php.eclass | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/eclass/php.eclass b/eclass/php.eclass index 2702fd45fb16..57dc5fe3b1ed 100644 --- a/eclass/php.eclass +++ b/eclass/php.eclass @@ -1,7 +1,7 @@ # Copyright 2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Author: Robin H. Johnson <robbat2@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.83 2003/10/26 03:32:01 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.84 2003/10/26 04:08:35 robbat2 Exp $ # This EBUILD is totally masked presently. Use it at your own risk. I know it # is severely broken, but I needed to get a copy into CVS to pass around and @@ -172,6 +172,13 @@ php_check_java_config() { eerror "or edit your USE flags in /etc/make.conf" die fi + + JDKVER="$(java-config -v | head -n1 | cut -d\" -f2)" + if [ -n "${JDKVER/1.4.*}" ]; then + eerror "Please ensure that you have a JDK with a version of at least" + eerror "1.4 selected using java-config" + die + fi } php_src_unpack() { |