diff options
author | gerald <gerald@FreeBSD.org> | 2015-01-26 08:03:46 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2015-01-26 08:03:46 +0800 |
commit | a7bc0c572ac58069c499414733d4c0e53e97593b (patch) | |
tree | 59c566dcad09aba93118fd4b0c2b63aedbc149ec /Mk/Uses | |
parent | bddc23315b89d3712d800acdd0f4ef5837f5c5d5 (diff) | |
download | freebsd-ports-gnome-a7bc0c572ac58069c499414733d4c0e53e97593b.tar.gz freebsd-ports-gnome-a7bc0c572ac58069c499414733d4c0e53e97593b.tar.zst freebsd-ports-gnome-a7bc0c572ac58069c499414733d4c0e53e97593b.zip |
Move LANG_GCC_IS from bsd.gcc.mk to bsd.default-versions.mk and use
this and GCC_DEFAULT instead of hard-coding the version of GCC used
by lang/gcc in Uses/fortran.mk.
Approved by: portmgr (antoine)
Diffstat (limited to 'Mk/Uses')
-rw-r--r-- | Mk/Uses/fortran.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/fortran.mk b/Mk/Uses/fortran.mk index fa265c4a9812..890eaaf94700 100644 --- a/Mk/Uses/fortran.mk +++ b/Mk/Uses/fortran.mk @@ -18,7 +18,7 @@ fortran_ARGS= gcc .if ${fortran_ARGS} == gcc .include "${PORTSDIR}/Mk/bsd.default-versions.mk" _GCC_VER= ${GCC_DEFAULT:S/.//} -.if ${_GCC_VER} == 48 +.if ${GCC_DEFAULT} == ${LANG_GCC_IS} BUILD_DEPENDS+= gfortran${_GCC_VER}:${PORTSDIR}/lang/gcc RUN_DEPENDS+= gfortran${_GCC_VER}:${PORTSDIR}/lang/gcc .else |