diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-03-11 21:51:01 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-03-11 21:51:01 +0000 |
commit | 7c9282263c067e22b80419ef7b7ab0b1438ba7de (patch) | |
tree | e6c5a6bac78a9f74058de0d2287fa58050afba66 /dev-perl | |
parent | fix form check on bulk patches (diff) | |
download | historical-7c9282263c067e22b80419ef7b7ab0b1438ba7de.tar.gz historical-7c9282263c067e22b80419ef7b7ab0b1438ba7de.tar.bz2 historical-7c9282263c067e22b80419ef7b7ab0b1438ba7de.zip |
use epatch intead
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/gtk-perl/gtk-perl-0.7008-r9.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/dev-perl/gtk-perl/gtk-perl-0.7008-r9.ebuild b/dev-perl/gtk-perl/gtk-perl-0.7008-r9.ebuild index 23a279403cac..a0715444fb5f 100644 --- a/dev-perl/gtk-perl/gtk-perl-0.7008-r9.ebuild +++ b/dev-perl/gtk-perl/gtk-perl-0.7008-r9.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/gtk-perl-0.7008-r9.ebuild,v 1.4 2003/02/13 11:26:27 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/gtk-perl/gtk-perl-0.7008-r9.ebuild,v 1.5 2003/03/11 21:51:01 seemant Exp $ -inherit perl-module +inherit perl-module eutils MY_P=Gtk-Perl-${PV} S=${WORKDIR}/${MY_P} @@ -28,18 +28,20 @@ use gnome || myconf="${myconf} --without-gnome --without-gnomeprint --without-ap src_unpack() { unpack ${A} - # Fix gdk-pixbuf-0.20.0 not detected, bug #10232. - cd ${S}; patch -p1 < ${FILESDIR}/${P}-gdkpixbuf-detect-fix.patch || die cd ${S} + + # Fix gdk-pixbuf-0.20.0 not detected, bug #10232. + epatch ${FILESDIR}/${P}-gdkpixbuf-detect-fix.patch + cp Makefile.PL Makefile.PL.bak perl -pi -e '/CCMD/ && s|/m;|/mg;|' */Makefile.PL - cd ${S} - perl Makefile.PL ${myconf} \ - PREFIX=${D}/usr + + perl Makefile.PL ${myconf} \ + PREFIX=${D}/usr } src_compile() { - make ${mymake} || die "compilation failed" + make ${mymake} || die "compilation failed" } |