ports/55674: Mk/bsd.port.mk: defining a default FORTRAN compiler with USE_GCC.
Thierry Thomas
thierry at pompo.net
Sun Aug 17 16:40:15 UTC 2003
>Number: 55674
>Category: ports
>Synopsis: Mk/bsd.port.mk: defining a default FORTRAN compiler with USE_GCC.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 17 09:40:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Thierry Thomas
>Release: FreeBSD 4.8-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat Aug 9 10:46:23 CEST 2003 thierry at graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386
>Description:
This patch defines a matching F77 whith USE_GCC.
For an example of possible usage, see PR ports/55671.
Remark: there is nothing available for gcc295.
>How-To-Repeat:
N/A.
>Fix:
Please apply the following patch:
--- bsd.port.mk.diff begins here ---
--- Mk/bsd.port.mk.orig Sat Aug 16 21:42:38 2003
+++ Mk/bsd.port.mk Sun Aug 17 18:22:53 2003
@@ -1341,22 +1341,26 @@
.if defined(USE_GCC) && ${USE_GCC} == 3.1 && ( ${OSVERSION} < 500035 || ${OSVERSION} > 500038 )
CC= gcc31
CXX= g++31
+F77= g77-31
BUILD_DEPENDS+= gcc31:${PORTSDIR}/lang/gcc31
MAKE_ENV+= CC=${CC} CXX=${CXX}
.endif
.if defined(USE_GCC) && ${USE_GCC} == 3.2 && ${OSVERSION} < 500039
CC= gcc32
CXX= g++32
+F77= g77-32
BUILD_DEPENDS+= gcc32:${PORTSDIR}/lang/gcc32
.endif
.if defined(USE_GCC) && ${USE_GCC} == 3.3 && ${OSVERSION} < 501103
CC= gcc33
CXX= g++33
+F77= g77-33
BUILD_DEPENDS+= gcc33:${PORTSDIR}/lang/gcc33
.endif
.if defined(USE_GCC) && ${USE_GCC} == 3.4 # Not yet available in any OSVERSION
CC= gcc34
CXX= g++34
+F77= g77-34
BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34
.endif
--- bsd.port.mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list