From 1b4de318564692d1bd223e6726b93cc0eb3941ae Mon Sep 17 00:00:00 2001 From: Stanislav Ochotnicky Date: Sat, 10 Jul 2010 15:18:22 +0000 Subject: Move file removal from patch to ebuild to prevent failure on some systems (Portage version: 2.1.8.3/cvs/Linux x86_64) --- net-p2p/phex/phex-3.2.0.102-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'net-p2p/phex/phex-3.2.0.102-r1.ebuild') diff --git a/net-p2p/phex/phex-3.2.0.102-r1.ebuild b/net-p2p/phex/phex-3.2.0.102-r1.ebuild index fcda329c8db0..7b0209c1d610 100644 --- a/net-p2p/phex/phex-3.2.0.102-r1.ebuild +++ b/net-p2p/phex/phex-3.2.0.102-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/phex/phex-3.2.0.102-r1.ebuild,v 1.1 2010/06/18 21:10:52 sochotnicky Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/phex/phex-3.2.0.102-r1.ebuild,v 1.2 2010/07/10 15:18:22 sochotnicky Exp $ EAPI=2 @@ -39,6 +39,8 @@ JAVA_PKG_BSFIX="off" src_prepare() { # remove parts related to MacOS gui classes epatch "${FILESDIR}/0001-Remove-MacOS-GUI-references.patch" + # remove unused class (make sure it's not compiled) + rm -vf src/phex/gui/macosx/MacOsxGUIUtils.java rm -vf lib/*.jar || die # avoid patches like plague -- cgit v1.2.3-65-gdbad