Gentoo Archives: gentoo-dev

From: Alex Dicks <alex.dicks@×××××××××××××××××××××××.uk>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Patch for gtk-perl ebuild needed?
Date: Tue, 15 Oct 2002 16:26:51
Message-Id: E181ZCl-0005H4-00@wing5.herald.ox.ac.uk
1 Emerging gtk-perl failed on my machine. It appears that the
2 package's Makefile.PL checks for various dependencies, including
3 gdkpixbuf.
4
5 It is older than the current version of gdkpixbuf in portage, which
6 is 0.20.0. Therefore, the check for the presence of gdkpixbuf fails,
7 as it detects the wrong version.
8
9 I patched my gtk-perl-0.7008-r4.ebuild with a line that runs sed to
10 tweak Makefile.PL into accepting the new version.
11
12 --- gtk-perl-0.7008-r4.ebuild_orig 2002-10-15 21:45:25.000000000 +0100
13 +++ gtk-perl-0.7008-r4.ebuild 2002-10-15 21:46:00.000000000 +0100
14 @@ -28,6 +28,8 @@
15 src_compile() {
16
17 cd ${S}
18 + mv Makefile.PL Makefile.PL_dist
19 + sed -e "s/\(gdk-pixbuf-config.*\)8|9|1/\18|9|1|2/" < Makefile.PL_dist > Makefile.PL
20 cp Makefile.PL Makefile.PL.bak
21 perl -pi -e '/CCMD/ && s|/m;|/mg;|' */Makefile.PL
22 perl-module_src_compile
23
24 That's diff -u's output on my patch, though it'll probably get
25 mangled in email.
26
27 I'm very new to Gentoo, but I hope this is of some use.

Replies

Subject Author
Re: [gentoo-dev] Patch for gtk-perl ebuild needed? Michael Cummings <mcummings@g.o>