summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-06-11 02:01:46 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-06-11 02:01:46 +0000
commit487ea3b833dcfc2958f7256894316cbc400ed419 (patch)
tree6f1bc56872010a99e294acbd15d1d919b0f32c32 /kde-base/krossjava/krossjava-4.3.5.ebuild
parentConvert to ruby-fakegem. Fixed to work with ruby19. (diff)
downloadgentoo-2-487ea3b833dcfc2958f7256894316cbc400ed419.tar.gz
gentoo-2-487ea3b833dcfc2958f7256894316cbc400ed419.tar.bz2
gentoo-2-487ea3b833dcfc2958f7256894316cbc400ed419.zip
export JAVA_HOME queried from java-config, fixes bug 280629
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/krossjava/krossjava-4.3.5.ebuild')
-rw-r--r--kde-base/krossjava/krossjava-4.3.5.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/kde-base/krossjava/krossjava-4.3.5.ebuild b/kde-base/krossjava/krossjava-4.3.5.ebuild
index 570181fc0228..74e5dbfb6876 100644
--- a/kde-base/krossjava/krossjava-4.3.5.ebuild
+++ b/kde-base/krossjava/krossjava-4.3.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/krossjava-4.3.5.ebuild,v 1.2 2010/02/20 11:27:39 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossjava/krossjava-4.3.5.ebuild,v 1.3 2010/06/11 02:01:46 reavertm Exp $
EAPI="2"
@@ -31,6 +31,7 @@ src_prepare() {
src_configure() {
mycmakeargs=(-DENABLE_KROSSJAVA=ON)
+ export JAVA_HOME=$(java-config -g JAVA_HOME)
kde4-meta_src_configure
java-ant-2_src_configure
}