1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

Fix the build on FreeBSD 12+ by using a current version of GCC which

is already used by some of the dependencies.

This avoids build errors of the following kind:

  /lib/libgcc_s.so.1: version GCC_4.6.0 required by
  /usr/local/lib/gcc6/libgfortran.so.3 not found

Submitted by:	maintainer (Rainer Hurling <rhurlin@gwdg.de>)
PR:		225230
This commit is contained in:
Gerald Pfeifer 2018-01-21 18:21:55 +00:00
parent 685b2d17d9
commit 233ed4ecef
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459622

View File

@ -33,6 +33,10 @@ NLOPT_LIB_DEPENDS= libnlopt.so:math/nlopt
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1200051
USE_GCC= yes
.endif
.if ${PORT_OPTIONS:MATLAS}
LIB_DEPENDS+= libatlas.so:math/atlas
CONFIGURE_ARGS+= --with-lapack=-lalapack