diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-20 15:52:39 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-04-20 15:52:39 +0000 |
commit | e6bf970214e366d59b663ab7c6037ad3e3cffcff (patch) | |
tree | 8354c5f5290d8cc97ebdde41f272d6a834b9779c /dev-java | |
parent | remove unused use flags (diff) | |
download | gentoo-2-e6bf970214e366d59b663ab7c6037ad3e3cffcff.tar.gz gentoo-2-e6bf970214e366d59b663ab7c6037ad3e3cffcff.tar.bz2 gentoo-2-e6bf970214e366d59b663ab7c6037ad3e3cffcff.zip |
Fix errors reported by java-pkg_ensure-dep.
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/cglib/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/cglib/cglib-2.1.3.ebuild | 21 |
2 files changed, 15 insertions, 11 deletions
diff --git a/dev-java/cglib/ChangeLog b/dev-java/cglib/ChangeLog index 29d4fd520a0b..5e1744935fe7 100644 --- a/dev-java/cglib/ChangeLog +++ b/dev-java/cglib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/cglib # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/ChangeLog,v 1.23 2007/04/20 14:25:43 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/ChangeLog,v 1.24 2007/04/20 15:52:39 betelgeuse Exp $ + + 20 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> cglib-2.1.3.ebuild: + Fix errors reported by java-pkg_ensure-dep. 20 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> cglib-2.2_beta1.ebuild: Add dev-java/ant-core to RDEPEND. diff --git a/dev-java/cglib/cglib-2.1.3.ebuild b/dev-java/cglib/cglib-2.1.3.ebuild index c78f8836e647..cb6bc7c1528a 100644 --- a/dev-java/cglib/cglib-2.1.3.ebuild +++ b/dev-java/cglib/cglib-2.1.3.ebuild @@ -1,6 +1,9 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.1.3.ebuild,v 1.4 2006/09/08 03:47:06 nichoj Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.1.3.ebuild,v 1.5 2007/04/20 15:52:39 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" +WANT_SPLIT_ANT="true" inherit eutils java-pkg-2 java-ant-2 @@ -12,12 +15,11 @@ LICENSE="Apache-1.1" SLOT="2.1" KEYWORDS="~x86 ~amd64" COMMON_DEP="=dev-java/asm-1.5* - =dev-java/aspectwerkz-2*" + =dev-java/aspectwerkz-2* + dev-java/ant-core" RDEPEND=">=virtual/jre-1.4 ${COMMON_DEP}" DEPEND=">=virtual/jdk-1.4 - source? ( app-arch/zip ) - >=dev-java/ant-core-1.5 dev-java/jarjar ${COMMON_DEP}" IUSE="doc source" @@ -27,22 +29,21 @@ S=${WORKDIR} src_unpack() { jar xf ${DISTDIR}/${A} || die "failed to unpack" - cd ${S}/lib - rm -f *.jar + cd "${S}/lib" + rm -v *.jar || die java-pkg_jar-from asm-1.5 java-pkg_jar-from aspectwerkz-2 - java-pkg_jar-from jarjar-1 java-pkg_jar-from ant-core ant.jar } src_compile() { - eant jar $(use_doc) + ANT_TASKS="jarjar-1" eant jar $(use_doc) } src_install() { java-pkg_newjar dist/${PN}-${MY_PV}.jar ${PN}.jar java-pkg_newjar dist/${PN}-nodep-${MY_PV}.jar ${PN}-nodep.jar - dodoc NOTICE README + dodoc NOTICE README || die use doc && java-pkg_dohtml -r docs/* } |