6 MASTER_SITES= http://libtom.org/files/
7 DISTNAME= tfm-${PORTVERSION}
9 MAINTAINER= ports@FreeBSD.org
10 COMMENT= Portable fixed precision math library for fast exponentiations
12 BROKEN_powerpc= internal compiler error at src/mul/fp_mul_comba_48.c:398
15 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
19 PLIST_FILES= include/tfm.h lib/libtfm.a
21 # Unbreak against Clang ("cc" is not a register)
23 @${REINPLACE_CMD} -e 's,"%cc","cc",' \
24 ${WRKSRC}/src/mont/fp_montgomery_reduce.c \
25 ${WRKSRC}/src/mul/fp_mul_comba.c \
26 ${WRKSRC}/src/sqr/fp_sqr_comba.c
28 .include <bsd.port.mk>