summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-09-23 13:04:37 +0000
committerJustin Lecher <jlec@gentoo.org>2013-09-23 13:04:37 +0000
commite0a2aeb58899101b893f3bfc53428c18e78cb923 (patch)
tree775b80459b23b4fd3b717f5f9ad459ce03d8fb64 /sci-libs/cfitsio/cfitsio-3.140.ebuild
parentChange default/bsd/fbsd/amd64/9.1 from stable to dev because the arch is supp... (diff)
downloadgentoo-2-e0a2aeb58899101b893f3bfc53428c18e78cb923.tar.gz
gentoo-2-e0a2aeb58899101b893f3bfc53428c18e78cb923.tar.bz2
gentoo-2-e0a2aeb58899101b893f3bfc53428c18e78cb923.zip
sci-libs/cfitsio: Use fortran-2.eclass
(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/cfitsio/cfitsio-3.140.ebuild')
-rw-r--r--sci-libs/cfitsio/cfitsio-3.140.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/sci-libs/cfitsio/cfitsio-3.140.ebuild b/sci-libs/cfitsio/cfitsio-3.140.ebuild
index 0fa160fbd82e..a0dd52c0e397 100644
--- a/sci-libs/cfitsio/cfitsio-3.140.ebuild
+++ b/sci-libs/cfitsio/cfitsio-3.140.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.140.ebuild,v 1.8 2009/10/11 16:18:58 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.140.ebuild,v 1.9 2013/09/23 13:04:36 jlec Exp $
EAPI=2
-inherit eutils autotools
+
+inherit autotools eutils fortran-2
DESCRIPTION="C and Fortran library for manipulating FITS files"
HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
@@ -19,6 +20,10 @@ RDEPEND=""
S="${WORKDIR}/${PN}"
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+}
+
src_prepare() {
# avoid internal cfortran
if use fortran; then