summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-04-05 04:59:48 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-04-05 04:59:48 +0000
commit5ed2aff6718335a8f4335a33f0d2f8eda342ff0b (patch)
tree884d58d82b840f0269c028fafad14d5b439f271c /dev-java/commons-validator
parentInitial Import. Closes #46395 (diff)
downloadhistorical-5ed2aff6718335a8f4335a33f0d2f8eda342ff0b.tar.gz
historical-5ed2aff6718335a8f4335a33f0d2f8eda342ff0b.tar.bz2
historical-5ed2aff6718335a8f4335a33f0d2f8eda342ff0b.zip
Bug fixes. Closes #46205
Diffstat (limited to 'dev-java/commons-validator')
-rw-r--r--dev-java/commons-validator/ChangeLog6
-rw-r--r--dev-java/commons-validator/Manifest6
-rw-r--r--dev-java/commons-validator/commons-validator-1.0.2-r1.ebuild12
3 files changed, 16 insertions, 8 deletions
diff --git a/dev-java/commons-validator/ChangeLog b/dev-java/commons-validator/ChangeLog
index 088e48eba21b..eb8d91d8e7e2 100644
--- a/dev-java/commons-validator/ChangeLog
+++ b/dev-java/commons-validator/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/commons-validator
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-validator/ChangeLog,v 1.7 2004/03/17 06:34:49 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-validator/ChangeLog,v 1.8 2004/04/05 04:59:48 zx Exp $
+
+ 04 Apr 2004; Chris Aniszczyk <zx@gentoo.org>
+ commons-validator-1.0.2-r1.ebuild:
+ Clean up. Fixes #46205
*commons-validator-1.0.2-r1 (17 Mar 2004)
diff --git a/dev-java/commons-validator/Manifest b/dev-java/commons-validator/Manifest
index 5518d97ca7ac..45c602f80ac4 100644
--- a/dev-java/commons-validator/Manifest
+++ b/dev-java/commons-validator/Manifest
@@ -1,4 +1,4 @@
-MD5 3b4d11c72fe5990ec6689406240d3ef6 files/digest-commons-validator-1.0.2-r1 78
-MD5 99e72e9acfb804da40e26cf9f45c6c30 ChangeLog 1449
+MD5 8ebf6b71424f6a29d61c29d3ff1fcfee commons-validator-1.0.2-r1.ebuild 1967
+MD5 bda17573d377b65af291f61c617a3157 ChangeLog 1558
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
-MD5 5e8649c00b0c94c9aed7b1457efb49e7 commons-validator-1.0.2-r1.ebuild 1922
+MD5 3b4d11c72fe5990ec6689406240d3ef6 files/digest-commons-validator-1.0.2-r1 78
diff --git a/dev-java/commons-validator/commons-validator-1.0.2-r1.ebuild b/dev-java/commons-validator/commons-validator-1.0.2-r1.ebuild
index 5b111aea5280..aa6a849baa4e 100644
--- a/dev-java/commons-validator/commons-validator-1.0.2-r1.ebuild
+++ b/dev-java/commons-validator/commons-validator-1.0.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-validator/commons-validator-1.0.2-r1.ebuild,v 1.1 2004/03/17 06:34:49 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-validator/commons-validator-1.0.2-r1.ebuild,v 1.2 2004/04/05 04:59:48 zx Exp $
inherit java-pkg
@@ -27,14 +27,18 @@ IUSE="doc jikes junit"
S="${WORKDIR}/${P}-src"
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ cd ${S}
echo "oro.jar=`java-config --classpath=oro`" >> build.properties
echo "commons-digester.jar=`java-config --classpath=commons-digester`" >> build.properties
echo "commons-collections.jar=`java-config --classpath=commons-collections`" >> build.properties
- echo "commons-logging.jar=`java-config --classpath=commons-logging`" | sed s/.*:// >> build.properties
+ echo "commons-logging.jar=`java-config --classpath=commons-logging | sed s/.*://`" >> build.properties
echo "commons-beanutils.jar=`java-config --classpath=commons-beanutils`" >> build.properties
echo "xerces.jar=`java-config --classpath=xerces`" >> build.properties
+}
+src_compile() {
local antflags="compile"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} javadoc"
@@ -43,7 +47,7 @@ src_compile() {
}
src_install() {
- #HACK
+ # Dirty hack
mv ${S}/target/conf/MANIFEST.MF ${S}/target/classes/
cd ${S}/target/classes
zip -qr ../${PN}.jar org