svn commit: r336343 - in head: . Mk/Uses
Gerald Pfeifer
gerald at pfeifer.com
Sun Jun 29 21:19:46 UTC 2014
On Fri, 13 Dec 2013, Tijl Coosemans wrote:
> Added: head/Mk/Uses/fortran.mk
> ==============================================================================
> +.if ${fortran_ARGS} == gcc
> +_GCC_VER= 46
We have already made this ${GCC_DEFAULT:S/.//}...
> +BUILD_DEPENDS+= gfortran${_GCC_VER}:${PORTSDIR}/lang/gcc
> +RUN_DEPENDS+= gfortran${_GCC_VER}:${PORTSDIR}/lang/gcc
> +USE_BINUTILS= yes
> +F77= gfortran${_GCC_VER}
> +FC= gfortran${_GCC_VER}
> +FFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
> +LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib/gcc${_GCC_VER}
...but is there a way to avoid this duplication of logic in bsd.gcc.mk
(and Uses/compiler)?
This duplication worries me.
Gerald
More information about the svn-ports-all
mailing list