ports/129656: Add GNU Fortran 4.3 support to bsd.gcc.mk
Steven Kreuzer
skreuzer at exit2shell.com
Mon Dec 15 14:50:02 UTC 2008
>Number: 129656
>Category: ports
>Synopsis: Add GNU Fortran 4.3 support to bsd.gcc.mk
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 15 14:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Steven Kreuzer
>Release: 7.1-PRERELEASE
>Organization:
>Environment:
FreeBSD slurry.exit2shell.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #3: Mon Nov 24 14:01:09 EST 2008 root at simon.sddi.net:/usr/obj/usr/src/sys/KERNEL amd64
>Description:
This patch allows a port to be built using gfortran 4.3
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: bsd.gcc.mk
===================================================================
RCS file: /usr/share/cvs/freebsd/ports/Mk/bsd.gcc.mk,v
retrieving revision 1.20
diff -u -r1.20 bsd.gcc.mk
--- bsd.gcc.mk 17 Aug 2008 06:57:17 -0000 1.20
+++ bsd.gcc.mk 12 Dec 2008 19:47:42 -0000
@@ -74,6 +74,12 @@
F77:= gfortran42
. endif
+. if ${USE_FORTRAN} == gfortran43
+BUILD_DEPENDS+= gfortran43:${PORTSDIR}/lang/gcc43
+FC:= gfortran43
+F77:= gfortran43
+. endif
+
# Intel Fortran compiler from lang/ifc.
. if ${USE_FORTRAN} == ifort
BUILD_DEPENDS+= ${LOCALBASE}/intel_fc_80/bin/ifort:${PORTSDIR}/lang/ifc
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list