Date: Thu, 11 Jun 2020 16:34:11 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r538505 - head/math/openlibm Message-ID: <202006111634.05BGYBd3095429@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pkubaj Date: Thu Jun 11 16:34:10 2020 New Revision: 538505 URL: https://svnweb.freebsd.org/changeset/ports/538505 Log: math/openlibm: use GCC on powerpc64 Clang fails to build this port: src/s_cpow.c:77:16: error: a parameter list without types is only allowed in a function definition __strong_alias(cpowl, cpow); Modified: head/math/openlibm/Makefile Modified: head/math/openlibm/Makefile ============================================================================== --- head/math/openlibm/Makefile Thu Jun 11 16:13:59 2020 (r538504) +++ head/math/openlibm/Makefile Thu Jun 11 16:34:10 2020 (r538505) @@ -19,12 +19,20 @@ BROKEN_armv7= fails to compile: a parameter list with BROKEN_mips= fails to compile: No rule to make target mips/Make.files BROKEN_mips64= fails to compile: No rule to make target mips64/Make.files -USES= compiler:c11 gmake +USES= gmake USE_GITHUB= yes GH_ACCOUNT= JuliaMath GH_PROJECT= openlibm USE_LDCONFIG= yes + +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc64 +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler +.endif .include <bsd.port.pre.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006111634.05BGYBd3095429>