From 7041dd3df38558aeeef6a4753656a9a886c0773f Mon Sep 17 00:00:00 2001 From: Michael Cummings Date: Wed, 14 Jun 2006 00:46:21 +0000 Subject: Fixed PDL for lib64 (Portage version: 2.1) --- dev-perl/PDL/ChangeLog | 5 ++++- dev-perl/PDL/PDL-2.4.2-r1.ebuild | 14 +++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'dev-perl') diff --git a/dev-perl/PDL/ChangeLog b/dev-perl/PDL/ChangeLog index 3608c2bdb58a..e8f452372fdb 100644 --- a/dev-perl/PDL/ChangeLog +++ b/dev-perl/PDL/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-perl/PDL # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.48 2006/06/13 01:11:18 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.49 2006/06/14 00:46:21 mcummings Exp $ + + 14 Jun 2006; Michael Cummings PDL-2.4.2-r1.ebuild: + Fixed PDL for lib64 13 Jun 2006; Michael Cummings PDL-2.4.2-r1.ebuild: Marking sparc stable diff --git a/dev-perl/PDL/PDL-2.4.2-r1.ebuild b/dev-perl/PDL/PDL-2.4.2-r1.ebuild index b581fc7d710c..ffeec2a69575 100644 --- a/dev-perl/PDL/PDL-2.4.2-r1.ebuild +++ b/dev-perl/PDL/PDL-2.4.2-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.2-r1.ebuild,v 1.2 2006/06/13 01:11:18 mcummings Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.2-r1.ebuild,v 1.3 2006/06/14 00:46:21 mcummings Exp $ -inherit perl-module eutils +inherit perl-module eutils multilib DESCRIPTION="PDL Perl Module" HOMEPAGE="http://search.cpan.org/~csoe/${P}/" @@ -61,7 +61,7 @@ src_install() { PERLVERSION=${version} eval `perl '-V:archname'` ARCHVERSION=${archname} - mv ${D}/usr/lib/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/HtmlDocs/PDL \ + mv ${D}/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/HtmlDocs/PDL \ ${D}/usr/share/doc/${PF}/html mydir=${D}/usr/share/doc/${PF}/html/PDL @@ -70,15 +70,15 @@ src_install() { do dosed ${i/${D}} done - cp ${S}/Doc/scantree.pl ${D}/usr/lib/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ - cp ${S}/Doc/mkhtmldoc.pl ${D}/usr/lib/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ + cp ${S}/Doc/scantree.pl ${D}/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ + cp ${S}/Doc/mkhtmldoc.pl ${D}/usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/ } pkg_postinst() { - perl /usr/lib/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/scantree.pl + perl /usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/scantree.pl einfo "Building perldl.db done. You can recreate this at any time" einfo "by running" - einfo "perl /usr/lib/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/scantree.pl" + einfo "perl /usr/$(get_libdir)/perl5/vendor_perl/${PERLVERSION}/${ARCHVERSION}/PDL/Doc/scantree.pl" epause 3 einfo "PDL requires that glx and dri support be enabled in" einfo "your X configuration for certain parts of the graphics" -- cgit v1.2.3-65-gdbad