/[gentoo-x86]/eclass/php-common-r1.eclass
Gentoo

Diff of /eclass/php-common-r1.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.18 Revision 1.19
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.18 2011/12/27 17:55:12 fauli Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.19 2013/04/28 16:15:33 zmedico Exp $
4 4
5# Based on robbat2's work on the php4 sapi eclass 5# Based on robbat2's work on the php4 sapi eclass
6# Based on stuart's work on the php5 sapi eclass 6# Based on stuart's work on the php5 sapi eclass
7 7
8# @ECLASS: php-common-r1.eclass 8# @ECLASS: php-common-r1.eclass
90 eerror "and place the line:" 90 eerror "and place the line:"
91 eerror " USE='-java-internal'" 91 eerror " USE='-java-internal'"
92 eerror "in front of your emerge command, for example:" 92 eerror "in front of your emerge command, for example:"
93 eerror " USE='-java-internal' emerge =dev-lang/php-4*" 93 eerror " USE='-java-internal' emerge =dev-lang/php-4*"
94 eerror 94 eerror
95 eerror "or edit your USE flags in /etc/make.conf." 95 eerror "or edit your USE flags in /etc/portage/make.conf."
96 die "Kaffe JVM not supported" 96 die "Kaffe JVM not supported"
97 fi 97 fi
98 98
99 JDKVER=$(java-config --java-version 2>&1 | awk '/^java version/ { print $3 }' | xargs ) 99 JDKVER=$(java-config --java-version 2>&1 | awk '/^java version/ { print $3 }' | xargs )
100 einfo "Active JDK version: ${JDKVER}" 100 einfo "Active JDK version: ${JDKVER}"

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20