From 1798f38035bb6bd14ed63ed93a8ac55ffca756b7 Mon Sep 17 00:00:00 2001
From: Vlastimil Babka <caster@gentoo.org>
Date: Thu, 26 Apr 2007 23:21:30 +0000
Subject: Fix dependencies and recording of jars. (Portage version: 2.1.2.4)

---
 dev-java/mx4j/ChangeLog            |  5 ++++-
 dev-java/mx4j/mx4j-3.0.1-r2.ebuild | 16 +++++++---------
 2 files changed, 11 insertions(+), 10 deletions(-)

(limited to 'dev-java/mx4j')

diff --git a/dev-java/mx4j/ChangeLog b/dev-java/mx4j/ChangeLog
index 073e0ff67402..4a56a960a1be 100644
--- a/dev-java/mx4j/ChangeLog
+++ b/dev-java/mx4j/ChangeLog
@@ -1,6 +1,9 @@
 # ChangeLog for dev-java/mx4j
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j/ChangeLog,v 1.19 2007/04/08 13:04:08 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j/ChangeLog,v 1.20 2007/04/26 23:21:30 caster Exp $
+
+  26 Apr 2007; Vlastimil Babka <caster@gentoo.org> mx4j-3.0.1-r2.ebuild:
+  Fix dependencies and recording of jars.
 
   08 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> -mx4j-3.0.1-r1.ebuild:
   Time for the non splitted ebuild to go.
diff --git a/dev-java/mx4j/mx4j-3.0.1-r2.ebuild b/dev-java/mx4j/mx4j-3.0.1-r2.ebuild
index 81272592daae..b43d4943453a 100644
--- a/dev-java/mx4j/mx4j-3.0.1-r2.ebuild
+++ b/dev-java/mx4j/mx4j-3.0.1-r2.ebuild
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j/mx4j-3.0.1-r2.ebuild,v 1.5 2007/02/03 22:49:14 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j/mx4j-3.0.1-r2.ebuild,v 1.6 2007/04/26 23:21:30 caster Exp $
 
 JAVA_PKG_OPT_USE="examples"
 
@@ -31,12 +31,12 @@ COMMON_DEP="
 		dev-java/jython
 		=dev-java/gnu-jaf-1*
 		=dev-java/gnu-javamail-1*
-	)"
-
-
-RDEPEND="
+	)
 	=dev-java/mx4j-core-3.0*
 	=dev-java/mx4j-tools-3.0*
+	"
+
+RDEPEND="
 	${COMMON_DEP}
 	examples? ( >=virtual/jre-1.4 )"
 
@@ -91,12 +91,10 @@ src_install() {
 	fi
 
 	# Recording jars to get the same behaviour as before
-	oldifs="${IFS}"
-	IFS=":"
-	for jar in $(java-pkg_getjars mx4j-core-3.0,mx4j-tools-3.0); do
+	local jars="$(java-pkg_getjars mx4j-core-3.0,mx4j-tools-3.0)"
+	for jar in ${jars//:/ }; do
 		java-pkg_regjar "${jar}"
 	done
-	IFS="${oldifs}"
 }
 
 pkg_postinst() {
-- 
cgit v1.2.3-65-gdbad