summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2002-09-21 19:11:31 +0000
committerMichael Cummings <mcummings@gentoo.org>2002-09-21 19:11:31 +0000
commit4aa6d67b6a87dfb1ba66a761346cb018e178f1d6 (patch)
treeb02c39d7b85d2ade5084e50fc4cc46b12ea416d9 /dev-perl/GD
parentFixes 7875. (diff)
downloadgentoo-2-4aa6d67b6a87dfb1ba66a761346cb018e178f1d6.tar.gz
gentoo-2-4aa6d67b6a87dfb1ba66a761346cb018e178f1d6.tar.bz2
gentoo-2-4aa6d67b6a87dfb1ba66a761346cb018e178f1d6.zip
Corrected xpm check - no fix if use X was no...
Diffstat (limited to 'dev-perl/GD')
-rw-r--r--dev-perl/GD/ChangeLog5
-rw-r--r--dev-perl/GD/GD-1.32-r2.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-perl/GD/ChangeLog b/dev-perl/GD/ChangeLog
index f66eafcbee5e..486935f1cb13 100644
--- a/dev-perl/GD/ChangeLog
+++ b/dev-perl/GD/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for dev-perl/GD
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v 1.5 2002/09/18 12:40:58 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/ChangeLog,v 1.6 2002/09/21 19:11:31 mcummings Exp $
*GD-1.32-r2 (18 Sep 2002) <mcummings@gentoo.org>
+ 21 Sep 2002; <mcummings@gentoo.org> : Fixed X dep check - there
+ was no correction clause for xpm if use X was no. Thanks ska-fan!
+
18 Sep 2002; <mcummings@gentoo.org> : Version bump because
although GD installed without error, it wasn't calling the perl module
eclass correctly and was misinstalling.
diff --git a/dev-perl/GD/GD-1.32-r2.ebuild b/dev-perl/GD/GD-1.32-r2.ebuild
index 8aa188c3be36..2846ae6afa27 100644
--- a/dev-perl/GD/GD-1.32-r2.ebuild
+++ b/dev-perl/GD/GD-1.32-r2.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-1.32-r2.ebuild,v 1.1 2002/09/18 12:40:58 mcummings Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/GD/GD-1.32-r2.ebuild,v 1.2 2002/09/21 19:11:31 mcummings Exp $
inherit perl-module
@@ -30,7 +30,12 @@ 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
)
+
perl-module_src_prep
}