Date: Sun, 29 Jun 2014 23:19:33 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: Tijl Coosemans <tijl@FreeBSD.org> Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Subject: Re: svn commit: r336343 - in head: . Mk/Uses Message-ID: <alpine.LSU.2.11.1406292318140.30120@tuna.site> In-Reply-To: <201312131322.rBDDMWZC038800@svn.freebsd.org> References: <201312131322.rBDDMWZC038800@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.11.1406292318140.30120>