Gentoo Archives: gentoo-dev

From: Michael Cummings <mcummings@g.o>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] Patch for gtk-perl ebuild needed?
Date: Wed, 16 Oct 2002 07:23:25
Message-Id: 20021016122303.GA18128@datanode.net
In Reply to: [gentoo-dev] Patch for gtk-perl ebuild needed? by Alex Dicks
1 Thank you! This bug is on my list, but I hadn't had a chance yet to work
2 on it. Thanks!
3
4 Michael
5
6
7 On Tue, Oct 15, 2002 at 10:26:19PM +0100, Alex Dicks wrote:
8 > Emerging gtk-perl failed on my machine. It appears that the
9 > package's Makefile.PL checks for various dependencies, including
10 > gdkpixbuf.
11 >
12 > It is older than the current version of gdkpixbuf in portage, which
13 > is 0.20.0. Therefore, the check for the presence of gdkpixbuf fails,
14 > as it detects the wrong version.
15 >
16 > I patched my gtk-perl-0.7008-r4.ebuild with a line that runs sed to
17 > tweak Makefile.PL into accepting the new version.
18 >
19 > --- gtk-perl-0.7008-r4.ebuild_orig 2002-10-15 21:45:25.000000000 +0100
20 > +++ gtk-perl-0.7008-r4.ebuild 2002-10-15 21:46:00.000000000 +0100
21 > @@ -28,6 +28,8 @@
22 > src_compile() {
23 >
24 > cd ${S}
25 > + mv Makefile.PL Makefile.PL_dist
26 > + sed -e "s/\(gdk-pixbuf-config.*\)8|9|1/\18|9|1|2/" < Makefile.PL_dist > Makefile.PL
27 > cp Makefile.PL Makefile.PL.bak
28 > perl -pi -e '/CCMD/ && s|/m;|/mg;|' */Makefile.PL
29 > perl-module_src_compile
30 >
31 > That's diff -u's output on my patch, though it'll probably get
32 > mangled in email.
33 >
34 > I'm very new to Gentoo, but I hope this is of some use.
35 > _______________________________________________
36 > gentoo-dev mailing list
37 > gentoo-dev@g.o
38 > http://lists.gentoo.org/mailman/listinfo/gentoo-dev