Index: branches/2015Q2/math/tomsfastmath/Makefile =================================================================== --- branches/2015Q2/math/tomsfastmath/Makefile (revision 390089) +++ branches/2015Q2/math/tomsfastmath/Makefile (revision 390090) @@ -1,28 +1,36 @@ # $FreeBSD$ PORTNAME= tomsfastmath PORTVERSION= 0.12 CATEGORIES= math MASTER_SITES= http://libtom.org/files/ DISTNAME= tfm-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Portable fixed precision math library for fast exponentiations BROKEN_powerpc= internal compiler error at src/mul/fp_mul_comba_48.c:398 -USES= gmake tar:bzip2 +USES= compiler:features gmake tar:bzip2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAKEFILE= makefile ALL_TARGET= default PLIST_FILES= include/tfm.h lib/libtfm.a +.include + +.if ${ARCH} == i386 +# on clang: +# src/mul/fp_mul_comba.c:349:11: error: inline assembly requires more registers than available +USE_GCC= yes +.endif + # Unbreak against Clang ("cc" is not a register) post-patch: @${REINPLACE_CMD} -e 's,"%cc","cc",' \ ${WRKSRC}/src/mont/fp_montgomery_reduce.c \ ${WRKSRC}/src/mul/fp_mul_comba.c \ ${WRKSRC}/src/sqr/fp_sqr_comba.c -.include +.include Index: branches/2015Q2 =================================================================== --- branches/2015Q2 (revision 390089) +++ branches/2015Q2 (revision 390090) Property changes on: branches/2015Q2 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r390088