Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2019 08:39:48 +0200 (CEST)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        "Jason W. Bacon" <jwb@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r501873 - in head/biology: . gemma gemma/files
Message-ID:  <alpine.LSU.2.21.1905180837090.4189@anthias.pfeifer.com>
In-Reply-To: <201905171445.x4HEjKE4084764@repo.freebsd.org>
References:  <201905171445.x4HEjKE4084764@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 17 May 2019, Jason W. Bacon wrote:
> +USES=		blaslapack:openblas compiler:c++11-lang eigen:3 gmake \
> +		localbase:ldflags

Mk/Uses/compiler.mk has

  .if ${_COMPILER_ARGS:Mc++11-lang}
  .if !${COMPILER_FEATURES:Mc++11}
  .if (defined(FAVORITE_COMPILER) && ${FAVORITE_COMPILER} == gcc) || (${ARCH} != amd64 && ${ARCH} != i386) # clang not always supported on Tier-2
  USE_GCC=        yes
  CHOSEN_COMPILER_TYPE=   gcc
  .elif ${COMPILER_TYPE} == gcc
  .if ${ALT_COMPILER_TYPE} == clang
  CPP=    clang-cpp
  CC=     clang
  CXX=    clang++
  CHOSEN_COMPILER_TYPE=   clang
  .else

> +# Force newer GCC on platforms using GCC 4.2 as base
> +.if ${CHOSEN_COMPILER_TYPE} == gcc
> +USE_GCC=	yes
> +.endif

...so already USE_GCC=yes for this case.

Why did you (have to?) add the second snippet above?

Gerald



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.21.1905180837090.4189>