summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHerbie Hopkins <herbs@gentoo.org>2005-05-24 21:36:26 +0000
committerHerbie Hopkins <herbs@gentoo.org>2005-05-24 21:36:26 +0000
commite231515078a719bac0984f8ef5d560976edeba6f (patch)
tree4b1cf113a229ee11003f0d30011770b0368e3964 /dev-perl/XML-Parser/XML-Parser-2.34.ebuild
parentAdded credits to Changelog (diff)
downloadgentoo-2-e231515078a719bac0984f8ef5d560976edeba6f.tar.gz
gentoo-2-e231515078a719bac0984f8ef5d560976edeba6f.tar.bz2
gentoo-2-e231515078a719bac0984f8ef5d560976edeba6f.zip
Multilib fix.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-perl/XML-Parser/XML-Parser-2.34.ebuild')
-rw-r--r--dev-perl/XML-Parser/XML-Parser-2.34.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-perl/XML-Parser/XML-Parser-2.34.ebuild b/dev-perl/XML-Parser/XML-Parser-2.34.ebuild
index c2f62c215d32..788c9589a378 100644
--- a/dev-perl/XML-Parser/XML-Parser-2.34.ebuild
+++ b/dev-perl/XML-Parser/XML-Parser-2.34.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Parser/XML-Parser-2.34.ebuild,v 1.13 2005/04/19 18:27:47 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/XML-Parser/XML-Parser-2.34.ebuild,v 1.14 2005/05/24 21:36:26 herbs Exp $
-inherit perl-module
+inherit perl-module multilib
DESCRIPTION="A Perl extension interface to James Clark's XML parser, expat"
SRC_URI="mirror://cpan/authors/id/M/MS/MSERGEANT/${P}.tar.gz"
@@ -14,3 +14,10 @@ KEYWORDS="x86 ppc sparc mips alpha arm hppa amd64 ia64 s390 ppc64"
IUSE=""
DEPEND=">=dev-libs/expat-1.95.1-r1"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e "s:^\$expat_libpath.*:\$expat_libpath = '/usr/$(get_libdir)';:" \
+ Makefile.PL || die "sed failed"
+}