diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-09 06:09:45 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-09 06:09:45 +0000 |
commit | 5c3c77f59ffafcbd934c0227520a6cb8aef0fe53 (patch) | |
tree | 1d14d93ff194d6447f03dcb75e6991f95f61d6b7 /sci-libs/cfitsio | |
parent | Version bump. (diff) | |
download | gentoo-2-5c3c77f59ffafcbd934c0227520a6cb8aef0fe53.tar.gz gentoo-2-5c3c77f59ffafcbd934c0227520a6cb8aef0fe53.tar.bz2 gentoo-2-5c3c77f59ffafcbd934c0227520a6cb8aef0fe53.zip |
Added cfortran.h link to use properly system one
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/cfitsio')
-rw-r--r-- | sci-libs/cfitsio/ChangeLog | 5 | ||||
-rw-r--r-- | sci-libs/cfitsio/cfitsio-3.140.ebuild | 12 |
2 files changed, 7 insertions, 10 deletions
diff --git a/sci-libs/cfitsio/ChangeLog b/sci-libs/cfitsio/ChangeLog index f87896c82ddf..97de655bfff7 100644 --- a/sci-libs/cfitsio/ChangeLog +++ b/sci-libs/cfitsio/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/cfitsio # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.31 2009/08/26 06:18:24 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.32 2009/09/09 06:09:45 bicatali Exp $ + + 09 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> cfitsio-3.140.ebuild: + Added cfortran.h link to use properly system one 26 Aug 2009; Sébastien Fabbro <bicatali@gentoo.org> files/cfitsio-3.140-autotools.patch: diff --git a/sci-libs/cfitsio/cfitsio-3.140.ebuild b/sci-libs/cfitsio/cfitsio-3.140.ebuild index 29ed62b1dcf5..68f82e2f978e 100644 --- a/sci-libs/cfitsio/cfitsio-3.140.ebuild +++ b/sci-libs/cfitsio/cfitsio-3.140.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2009 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.1 2009/03/19 22:43:53 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.140.ebuild,v 1.2 2009/09/09 06:09:45 bicatali Exp $ EAPI=2 -inherit eutils fortran autotools +inherit eutils autotools DESCRIPTION="C and Fortran library for manipulating FITS files" HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" @@ -19,13 +19,6 @@ RDEPEND="" S="${WORKDIR}/${PN}" -pkg_setup() { - if use fortran; then - FORTRAN="gfortran g77 ifc" - fortran_pkg_setup - fi -} - src_prepare() { # avoid internal cfortran if use fortran; then @@ -33,6 +26,7 @@ src_prepare() { -e 's:"cfortran.h":<cfortran.h>:' \ f77_wrap.h || die "sed fortran failed" mv cfortran.h cfortran.h.disabled + ln -s /usr/include/cfortran.h . fi epatch "${FILESDIR}"/${P}-autotools.patch epatch "${FILESDIR}"/${P}-missing-include.patch |