From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QYwcg-0007Xc-8T for garchives@archives.gentoo.org; Tue, 21 Jun 2011 08:47:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80C481C0A3; Tue, 21 Jun 2011 08:46:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 8A5C21C039; Tue, 21 Jun 2011 06:59:11 +0000 (UTC) Received: from paul.ibi.kfa-juelich.de (ip-62-143-16-215.unitymediagroup.de [62.143.16.215]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jlec) by smtp.gentoo.org (Postfix) with ESMTPSA id 423E61B4021; Tue, 21 Jun 2011 06:59:10 +0000 (UTC) Message-ID: <4E004139.5070909@gentoo.org> Date: Tue, 21 Jun 2011 08:59:05 +0200 From: justin User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b13pre) Gecko/20110620 Thunderbird/3.3a3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo development announcement list X-BeenThere: gentoo-dev-announce@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev-announce@gentoo.org, gentoo-science@lists.gentoo.org Subject: [gentoo-dev-announce] Fortran-2.eclass X-Enigmail-Version: 1.2a1pre Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig14B9E9EAEA1E5DAE239F4F68" X-Archives-Salt: X-Archives-Hash: d67e2b4866aa10430aba2afd4b3e089b This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig14B9E9EAEA1E5DAE239F4F68 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello, We just included an eclass to simplify the fortran compiler dependency and testing in ebuilds. For the simplest case, which is most probably the way you want it, simply add "fortran-2" to you inherit line. The only phase function exported is pkg_setup, so take care to add "fortran-2_pkg_setup" in case you redefined pkg_setup. This will depend on a fortran compiler and check additionally for general compiler functionality. Two specialist cases are support. First, you need openmp support from the fortran compiler, then simply define "FORTRAN_NEED_OPENMP=3D1". Second, you need a different fortran dialect. Normally this can be identified, if the source files have different suffixes then .f e.g. .f90= =2E Simply define FORTRAN_STANDARD with the dialects you need. Currently supported are the dialects from 77, 90, 95 and 03. 08 is currently not, due to the lack of a working compiler. I hope this will fix the problems due to missing fortran compilers. justin --------------enig14B9E9EAEA1E5DAE239F4F68 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4AQTkACgkQgAnW8HDreRabowCgu+9lT6+VHbCY9cCqlsov6x3B qYgAmwddQSa3hWDVE2u8tvBknY/XSTcD =GJai -----END PGP SIGNATURE----- --------------enig14B9E9EAEA1E5DAE239F4F68--