Index: head/math/opensolaris-libm/Makefile =================================================================== --- head/math/opensolaris-libm/Makefile (revision 432947) +++ head/math/opensolaris-libm/Makefile (revision 432948) @@ -1,65 +1,57 @@ # Created by: John Marino # $FreeBSD$ PORTNAME= opensolaris-libm PORTVERSION= 2006.01.31 DISTVERSIONPREFIX= v CATEGORIES= math MAINTAINER= marino@FreeBSD.org COMMENT= C99 Math and vector libraries from OpenSolaris snv_33 LICENSE= CDDL LICENSE_FILE= ${WRKSRC}/usr/src/OPENSOLARIS.LICENSE ONLY_FOR_ARCHS= amd64 # i386 and sparc possible with much work PORTSCOUT= ignore:1 USE_GITHUB= yes GH_ACCOUNT= jrmarino -GH_TAGNAME= 2017.01.24 +GH_TAGNAME= 2017.01.31 BUILD_WRKSRC= ${WRKSRC}/usr/src/libm/wos64 INSTALL_WRKSRC= ${WRKSRC}/usr/src/libm/wos64 MAKEFILE= Makefile.bsd MAKE_ENV= ARCH=${ARCH} USE_ASSEMBLY_VERSIONS=yes -# On FreeBSD 11+, libm will build on base clang. Using OpenLibm testsuite, -# all float tests pass on both clang and gcc. On the "double" tests, all -# tests pass when built by gcc save 4 gamma tests off by 1e-16, also seen -# on Illumos. However, on Clang and gcc with -fno-builtin set, 27 other -# tests fail with results off by values ranging from e-17 to e-14. All of -# these extremely slightly inaccurate results seem to be caused by the j0 -# Bessel function implementation. Fix that and likely all 27 tests -# involving j0, j1, jn, y0, y1, yn pass. - +# On FreeBSD 11+, libm will build on base clang. # On FreeBSD 10, the base clang (v3.4) cannot even build libm without emitting # Internal Compiler Errors, so GCC is required and does not appear as an # option. Similarly, the GCC option does not appear on DragonFly as the # base compiler is already GCC. Programs compiled with GCC that link to # these libraries require that the libraries are compiled with GCC for # proper functioning. OPTIONS_DEFINE= GCC OPTIONS_EXCLUDE_FreeBSD_10= GCC OPTIONS_EXCLUDE_DragonFly= GCC GCC_USE= GCC=yes .include .if ${OPSYS} == FreeBSD . if ${OSREL:R} < 11 USE_GCC= yes . endif RUN_DEPENDS= ${LOCALBASE}/bin/addr2line:devel/binutils post-patch: # The addr2line program in FreeBSD is inadequate, so pull in # binutils on FreeBSD @${REINPLACE_CMD} -e 's|/usr/bin|/usr/local/bin|' \ ${WRKSRC}/usr/src/libm/src/m9x/__traceback.c .endif .include Index: head/math/opensolaris-libm/distinfo =================================================================== --- head/math/opensolaris-libm/distinfo (revision 432947) +++ head/math/opensolaris-libm/distinfo (revision 432948) @@ -1,3 +1,3 @@ -TIMESTAMP = 1485190474 -SHA256 (jrmarino-opensolaris-libm-v2006.01.31-2017.01.24_GH0.tar.gz) = c063cbc7db749b7c87455964dfa6ead7808108f9c991cede192f2ee108fced80 -SIZE (jrmarino-opensolaris-libm-v2006.01.31-2017.01.24_GH0.tar.gz) = 985294 +TIMESTAMP = 1485870843 +SHA256 (jrmarino-opensolaris-libm-v2006.01.31-2017.01.31_GH0.tar.gz) = 42ef6a57674237dd9822c76bf799ff51d58a69a9c726bd6801be37f916a6afa1 +SIZE (jrmarino-opensolaris-libm-v2006.01.31-2017.01.31_GH0.tar.gz) = 985592