diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-10-12 19:22:58 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-10-12 19:22:58 +0000 |
commit | b0cb67c6b10f8a3c7d8bfb8973a32195fdae2870 (patch) | |
tree | cbe99ccfc4336b0dea490ebb3aeda5d7fc600630 /dev-java/commons-httpclient | |
parent | Stable on hppa. (diff) | |
download | gentoo-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.ebuild | 10 |
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 |