summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-04-26 23:21:30 +0000
committerVlastimil Babka <caster@gentoo.org>2007-04-26 23:21:30 +0000
commit1798f38035bb6bd14ed63ed93a8ac55ffca756b7 (patch)
tree640e2dd24641c27310d38d7b7e4496e011aeb9af /dev-java/mx4j
parentinherit java-ant-2 to make JAVA_PKG_STRICT happy and stylistic cleanup. (diff)
downloadgentoo-2-1798f38035bb6bd14ed63ed93a8ac55ffca756b7.tar.gz
gentoo-2-1798f38035bb6bd14ed63ed93a8ac55ffca756b7.tar.bz2
gentoo-2-1798f38035bb6bd14ed63ed93a8ac55ffca756b7.zip
Fix dependencies and recording of jars.
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-java/mx4j')
-rw-r--r--dev-java/mx4j/ChangeLog5
-rw-r--r--dev-java/mx4j/mx4j-3.0.1-r2.ebuild16
2 files changed, 11 insertions, 10 deletions
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() {