summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-10-12 19:22:58 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-10-12 19:22:58 +0000
commitb0cb67c6b10f8a3c7d8bfb8973a32195fdae2870 (patch)
treecbe99ccfc4336b0dea490ebb3aeda5d7fc600630 /dev-java/commons-httpclient
parentStable on hppa. (diff)
downloadgentoo-2-b0cb67c6b10f8a3c7d8bfb8973a32195fdae2870.tar.gz
gentoo-2-b0cb67c6b10f8a3c7d8bfb8973a32195fdae2870.tar.bz2
gentoo-2-b0cb67c6b10f8a3c7d8bfb8973a32195fdae2870.zip
small cleanup
Diffstat (limited to 'dev-java/commons-httpclient')
-rw-r--r--dev-java/commons-httpclient/commons-httpclient-2.0.1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-java/commons-httpclient/commons-httpclient-2.0.1.ebuild b/dev-java/commons-httpclient/commons-httpclient-2.0.1.ebuild
index 66276f285e1a..a29477742216 100644
--- a/dev-java/commons-httpclient/commons-httpclient-2.0.1.ebuild
+++ b/dev-java/commons-httpclient/commons-httpclient-2.0.1.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-httpclient/commons-httpclient-2.0.1.ebuild,v 1.2 2004/10/12 19:20:00 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-httpclient/commons-httpclient-2.0.1.ebuild,v 1.3 2004/10/12 19:22:58 axxo Exp $
inherit java-pkg eutils
@@ -24,9 +24,11 @@ src_unpack() {
cd ${S}
#make jikes happy
- use jikes && sed '837 s/ConnectionPool/org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.ConnectionPool/' \
- -i src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java \
- || die "failed to sed"
+ if use jikes; then
+ sed '837 s/ConnectionPool/org.apache.commons.httpclient.MultiThreadedHttpConnectionManager.ConnectionPool/' \
+ -i src/java/org/apache/commons/httpclient/MultiThreadedHttpConnectionManager.java \
+ || die "failed to sed"
+ fi
epatch ${FILESDIR}/gentoo.diff || die "patching failed"
echo "commons-logging.jar=/usr/share/commons-logging/lib/commons-logging.jar" >> build.properties