Date: Sun, 17 Aug 2003 18:32:08 +0200 (CEST) From: Thierry Thomas <thierry@pompo.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/55674: Mk/bsd.port.mk: defining a default FORTRAN compiler with USE_GCC. Message-ID: <20030817163208.0DB3D752B@graf.pompo.net> Resent-Message-ID: <200308171640.h7HGeDI0084681@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030817163208.0DB3D752B>