diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-22 20:29:44 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-22 20:29:44 +0000 |
commit | 176d80b7ff69fe81a301cc983a322caa8239911c (patch) | |
tree | 24fd9ed26e77fd5e17e951994c1916f4e3df57e7 | |
parent | broken (Manifest recommit) (diff) | |
download | gentoo-2-176d80b7ff69fe81a301cc983a322caa8239911c.tar.gz gentoo-2-176d80b7ff69fe81a301cc983a322caa8239911c.tar.bz2 gentoo-2-176d80b7ff69fe81a301cc983a322caa8239911c.zip |
Fixes #74541.
-rw-r--r-- | dev-java/commons-net/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/commons-net/commons-net-1.3.0.ebuild | 14 |
2 files changed, 16 insertions, 5 deletions
diff --git a/dev-java/commons-net/ChangeLog b/dev-java/commons-net/ChangeLog index dd2aa54b9220..525ad9028445 100644 --- a/dev-java/commons-net/ChangeLog +++ b/dev-java/commons-net/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/commons-net # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/ChangeLog,v 1.19 2004/12/18 09:36:16 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/ChangeLog,v 1.20 2004/12/22 20:29:44 karltk Exp $ + + 22 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> + commons-net-1.3.0.ebuild: + Disabled unit tests by default, they can be selectively enabled using the + junit useflag. Partial fix for #74541. 18 Dec 2004; Markus Rothe <corsair@gentoo.org> commons-net-1.3.0.ebuild: added ~ppc64 to KEYWORDS diff --git a/dev-java/commons-net/commons-net-1.3.0.ebuild b/dev-java/commons-net/commons-net-1.3.0.ebuild index 91a78fc5aac0..3b8d0006a1a4 100644 --- a/dev-java/commons-net/commons-net-1.3.0.ebuild +++ b/dev-java/commons-net/commons-net-1.3.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/commons-net-1.3.0.ebuild,v 1.2 2004/12/18 09:36:16 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/commons-net-1.3.0.ebuild,v 1.3 2004/12/22 20:29:44 karltk Exp $ inherit eutils java-pkg @@ -8,13 +8,13 @@ DESCRIPTION="The purpose of the library is to provide fundamental protocol acces HOMEPAGE="http://jakarta.apache.org/commons/net/" SRC_URI="mirror://apache/jakarta/commons/net/source/${P}-src.tar.gz" DEPEND=">=virtual/jdk-1.3 - >=dev-java/ant-core-1.5.4 - >=dev-java/oro-2.0.7" + >=dev-java/ant-core-1.5.4 + >=dev-java/oro-2.0.7" RDEPEND=">=virtual/jdk-1.3" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~x86 ~sparc ~ppc ~amd64 ~ppc64" -IUSE="jikes doc" +IUSE="jikes doc junit" S=${WORKDIR}/${P}-src @@ -25,6 +25,12 @@ src_unpack() { mkdir -p target/lib cd target/lib java-pkg_jar-from oro + + cd ${S} + if ! use junit ; then + sed -i 's/depends="compile,test"/depends="compile"/' \ + build.xml || die "Failed to disable junit" + fi } src_compile() { |