Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2005 14:25:43 -0400 (EDT)
From:      Jonathan Lennox <lennox@cs.columbia.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85495: lang/gcc40 needs to depend on math/mpfr if WITH_FORTRAN
Message-ID:  <200508301825.j7UIPhws013066@cnr.cs.columbia.edu>
Resent-Message-ID: <200508301830.j7UIUMTw075357@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85495
>Category:       ports
>Synopsis:       lang/gcc40 needs to depend on math/mpfr if WITH_FORTRAN
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 30 18:30:21 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jonathan Lennox
>Release:        FreeBSD 5.4-RELEASE-p4 i386
>Organization:
Columbia University
>Environment:
System: FreeBSD cnr.cs.columbia.edu 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #2: Wed Jul 6 12:44:37 EDT 2005 lennox@cnr.cs.columbia.edu:/usr/obj/usr/src/sys/CNR i386


	
>Description:
The port math/mpfr has been split off from the port math/gmp4 (see the PR
ports/84724).

Gfortran in GCC 4.0.x depends on the MPFR libraries.  Since GCC's configure
script does not detect MPFR, it does not build gfortran.

When installing lang/gcc40 with the WITH_GFORTRAN flag -- i.e., when
installing lang/gfortran -- the install therefore fails if math/mpfr was not
previously installed.

>How-To-Repeat:

[pkg_delete math/mpfr]
portinstall lang/gfortran

>Fix:

Add a dependency on math/mpfr to lang/gcc40 under the WITH_GFORTRAN
conditional.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508301825.j7UIPhws013066>