ports/85495: lang/gcc40 needs to depend on math/mpfr if WITH_FORTRAN
Jonathan Lennox
lennox at cs.columbia.edu
Tue Aug 30 18:30:29 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list