summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-07-06 03:53:51 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-07-06 03:53:51 +0000
commit915d63611354ab88fee13f66f9e16741c4500f8a (patch)
treed56b11d79e3b10c3ac0539317526531fff3ba0cd /dev-perl
parentVersion bump and fix for building with glibc-2.16 #424954 by Stevan Bajić. (diff)
downloadgentoo-2-915d63611354ab88fee13f66f9e16741c4500f8a.tar.gz
gentoo-2-915d63611354ab88fee13f66f9e16741c4500f8a.tar.bz2
gentoo-2-915d63611354ab88fee13f66f9e16741c4500f8a.zip
Prefix fixes and keywording amd64-linux, x86-linux
(Portage version: 2.2.01.20430-prefix/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl')
-rw-r--r--dev-perl/PDL/ChangeLog5
-rw-r--r--dev-perl/PDL/PDL-2.4.11.ebuild26
2 files changed, 14 insertions, 17 deletions
diff --git a/dev-perl/PDL/ChangeLog b/dev-perl/PDL/ChangeLog
index 0463ad1be256..03f3aeac17f8 100644
--- a/dev-perl/PDL/ChangeLog
+++ b/dev-perl/PDL/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-perl/PDL
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.100 2012/06/24 12:59:16 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/ChangeLog,v 1.101 2012/07/06 03:53:51 bicatali Exp $
+
+ 06 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> PDL-2.4.11.ebuild:
+ Prefix fixes and keywording amd64-linux, x86-linux
24 Jun 2012; Torsten Veller <tove@gentoo.org> metadata.xml:
Update CPAN upstream info
diff --git a/dev-perl/PDL/PDL-2.4.11.ebuild b/dev-perl/PDL/PDL-2.4.11.ebuild
index 2ddc63806e6a..a3070c851ef0 100644
--- a/dev-perl/PDL/PDL-2.4.11.ebuild
+++ b/dev-perl/PDL/PDL-2.4.11.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.11.ebuild,v 1.1 2012/06/16 20:08:09 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.4.11.ebuild,v 1.2 2012/07/06 03:53:51 bicatali Exp $
EAPI=4
@@ -12,7 +12,7 @@ DESCRIPTION="Perl Data Language for scientific computing"
LICENSE="Artistic as-is"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="+badval doc fftw fortran gd gsl hdf netpbm opengl pdl2 proj pgplot plplot threads"
RDEPEND="sys-libs/ncurses
@@ -60,6 +60,8 @@ src_prepare() {
epatch "${FILESDIR}"/${PN}-2.4.11-fortran.patch
# search for shared hdf instead of static
epatch "${FILESDIR}"/${PN}-2.4.11-shared-hdf.patch
+ find . -name Makefile.PL -exec \
+ sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die
}
src_configure() {
@@ -89,26 +91,18 @@ src_test() {
src_install() {
perl-module_src_install
- insinto /${VENDOR_ARCH}/PDL/Doc
- doins Doc/{scantree.pl,mkhtmldoc.pl}
+ cp Doc/{scantree.pl,mkhtmldoc.pl} \
+ "${D}"/${VENDOR_ARCH}/PDL/Doc/ || die
}
pkg_postinst() {
- if [[ ${EROOT} = / ]] ; then
- perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl
- elog "Building perldl.db done. You can recreatethis at any time"
- elog "by running"
- else
- elog "You must create perldl.db by running"
- fi
+ perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl || die
+ elog "Building perldl.db done. You can recreate this at any time"
+ elog "by running:"
elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl"
- elog "PDL requires that glx and dri support be enabled in"
- elog "your X configuration for certain parts of the graphics"
- elog "engine to work. See your X's documentation for futher"
- elog "information."
}
pkg_prerm() {
rm -rf "${EROOT}"/var/lib/pdl/html
- rm -f "${EROOT}"/var/lib/pdl/pdldoc.db "${EROOT}"/var/lib/pdl/Index.pod
+ rm -f "${EROOT}"/var/lib/pdl/{pdldoc.db,Index.pod}
}