Gentoo Archives: gentoo-user

From: David Abbott <david@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Patch via perl script in an ebuild?
Date: Fri, 02 Jul 2010 09:05:25
Message-Id: AANLkTin_QYScmFcP-lCKrHr8n8KLIQL8IVESoVBEiZVL@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Patch via perl script in an ebuild? by Grant
1 On Thu, Jul 1, 2010 at 11:45 PM, Grant <emailgrant@×××××.com> wrote:
2 > [snip]
3 >
4 >> # Copyright 1999-2010 Gentoo Foundation
5 >> # Distributed under the terms of the GNU General Public License v2
6 >> # $Header: $
7 >>
8 >> EAPI="3"
9 >>
10 >> inherit perl-module
11 >>
12 >> DESCRIPTION="SOAP-WSDL provides a SOAP client with WSDL support."
13 >> HOMEPAGE="http://soap-wsdl.svn.sourceforge.net"
14 >> SRC_URI="http://soap-wsdl.svn.sourceforge.net/viewvc/soap-wsdl/SOAP-WSDL/branches/Typemap.tar.gz
15 >> -> ${P}.tar.gz"
16 >> LICENSE="Apache-2.0"
17 >> SLOT="0"
18 >> KEYWORDS="~amd64 ~x86"
19 >> IUSE="google"
20 >>
21 >> DEPEND="${RDEPEND}
22 >>        virtual/perl-Module-Build"
23 >> RDEPEND="dev-perl/SOAP-Lite
24 >>        dev-perl/Class-Std-Fast"
25 >>
26 >> src_prepare() {
27 >>        if use google ; then
28 >>                epatch "${FILESDIR}/${PN}.patch" | die "google patch failed"
29 >>        fi
30 >> }
31 >
32 > David, you mentioned in the bug that you couldn't get the patch to
33 > work clean.  I thought you got it working before when you posted the
34 > patched Typemap for me to download.  Did it work then but not now?
35 >
36 > http://bugs.gentoo.org/show_bug.cgi?id=305621
37 >
38 > - GrantSOAP-WSDL
39 >
40 >
41 The patched Typemap created by hand works fine, but when you attempt
42 to use a downloaded SOAP-WSDL and patch it failed for me, may need to
43 manually create a patch for SOAP-WSDL.
44
45 --
46 David Abbott (dabbott)

Replies

Subject Author
Re: [gentoo-user] Re: Patch via perl script in an ebuild? Grant <emailgrant@×××××.com>