diff options
author | Michael Cummings <mcummings@gentoo.org> | 2002-09-10 01:55:54 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2002-09-10 01:55:54 +0000 |
commit | f5e395dfaacf91381af6c1b5035c9f557b562886 (patch) | |
tree | 52971fd4c2d4cfe5c0e624717a116930a6636aa6 /dev-perl | |
parent | New ebuild corrects reported problems with gd support (diff) | |
download | gentoo-2-f5e395dfaacf91381af6c1b5035c9f557b562886.tar.gz gentoo-2-f5e395dfaacf91381af6c1b5035c9f557b562886.tar.bz2 gentoo-2-f5e395dfaacf91381af6c1b5035c9f557b562886.zip |
Corrected syntax in ebuild; fixed sed lines
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/GD/GD-2.01.ebuild | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/dev-perl/GD/GD-2.01.ebuild b/dev-perl/GD/GD-2.01.ebuild index 61319d59c10f..f7612d91c1f4 100644 --- a/dev-perl/GD/GD-2.01.ebuild +++ b/dev-perl/GD/GD-2.01.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-2.01.ebuild,v 1.1 2002/09/09 21:53:26 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-2.01.ebuild,v 1.2 2002/09/10 01:55:54 mcummings Exp $ inherit perl-module @@ -18,6 +18,8 @@ DEPEND="${DEPEND} >=media-libs/libgd-2.0.1 X? ( virtual/x11 )" + + src_unpack() { unpack ${A} cd ${S} @@ -30,7 +32,21 @@ src_unpack() { cp Makefile.PL Makefile.PL.orig sed -e "s:my \$XPM.*:my \$XPM='y';:" \ Makefile.PL.orig > Makefile.PL + ) || ( \ + cp Makefile.PL Makefile.PL.orig + sed -e "s:my \$XPM.*:my \$XPM='n';:"\ + Makefile.PL.orig > Makefile.PL + ) + use truetype && ( \ + cp Makefile.PL Makefile.PL.orig + sed -e "s:my \$FT.*:my \$FT='y';:"\ + Makefile.PL.orig > Makefile.PL + ) || ( \ + cp Makefile.PL Makefile.PL.orig + sed -e "s:my \$FT.*:my \$FT='n';:"\ + Makefile.PL.orig > Makefile.PL ) + } src_install () { |