summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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