From owner-svn-ports-head@freebsd.org Thu Sep 28 08:01:05 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E823DE2C099; Thu, 28 Sep 2017 08:01:05 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C4B4774627; Thu, 28 Sep 2017 08:01:05 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8S8142W022893; Thu, 28 Sep 2017 08:01:04 GMT (envelope-from gahr@FreeBSD.org) Received: (from gahr@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8S814eG022890; Thu, 28 Sep 2017 08:01:04 GMT (envelope-from gahr@FreeBSD.org) Message-Id: <201709280801.v8S814eG022890@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gahr set sender to gahr@FreeBSD.org using -f From: Pietro Cerutti Date: Thu, 28 Sep 2017 08:01:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450804 - in head/math/tomsfastmath: . files X-SVN-Group: ports-head X-SVN-Commit-Author: gahr X-SVN-Commit-Paths: in head/math/tomsfastmath: . files X-SVN-Commit-Revision: 450804 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2017 08:01:06 -0000 Author: gahr Date: Thu Sep 28 08:01:04 2017 New Revision: 450804 URL: https://svnweb.freebsd.org/changeset/ports/450804 Log: math/tomsfastmath: update to 0.13.1 Release notes: https://github.com/libtom/tomsfastmath/releases/tag/v0.13.1 https://github.com/libtom/tomsfastmath/releases/tag/v0.13.0 Modified: head/math/tomsfastmath/Makefile head/math/tomsfastmath/distinfo head/math/tomsfastmath/files/patch-makefile Modified: head/math/tomsfastmath/Makefile ============================================================================== --- head/math/tomsfastmath/Makefile Thu Sep 28 06:25:52 2017 (r450803) +++ head/math/tomsfastmath/Makefile Thu Sep 28 08:01:04 2017 (r450804) @@ -1,18 +1,22 @@ # $FreeBSD$ PORTNAME= tomsfastmath -PORTVERSION= 0.12 -PORTREVISION= 4 +PORTVERSION= 0.13.1 +DISTVERSIONPREFIX= v CATEGORIES= math -MASTER_SITES= http://libtom.net/files/ -DISTNAME= tfm-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Portable fixed precision math library for fast exponentiations +LICENSE= PD WTFPL +LICENSE_COMB= dual + BROKEN_powerpc= internal compiler error at src/mul/fp_mul_comba_48.c:398 USES= compiler:features gmake tar:bzip2 +USE_GITHUB= yes +GH_ACCOUNT= libtom + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} MAKEFILE= makefile ALL_TARGET= default @@ -34,5 +38,9 @@ post-patch: ${WRKSRC}/src/mont/fp_montgomery_reduce.c \ ${WRKSRC}/src/mul/fp_mul_comba.c \ ${WRKSRC}/src/sqr/fp_sqr_comba.c + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/headers/tfm.h ${STAGEDIR}${PREFIX}/include + ${INSTALL_DATA} ${WRKSRC}/libtfm.a ${STAGEDIR}${PREFIX}/lib .include Modified: head/math/tomsfastmath/distinfo ============================================================================== --- head/math/tomsfastmath/distinfo Thu Sep 28 06:25:52 2017 (r450803) +++ head/math/tomsfastmath/distinfo Thu Sep 28 08:01:04 2017 (r450804) @@ -1,2 +1,3 @@ -SHA256 (tfm-0.12.tar.bz2) = aa854c6664c3ba173809326ad9d3c18918b52f84040658b247e2ce7527032021 -SIZE (tfm-0.12.tar.bz2) = 216082 +TIMESTAMP = 1506584765 +SHA256 (libtom-tomsfastmath-v0.13.1_GH0.tar.gz) = 207e8624382e815f58bc5c3d4aad725d94588a6cc465d34634e6533dcaae2e0d +SIZE (libtom-tomsfastmath-v0.13.1_GH0.tar.gz) = 421999 Modified: head/math/tomsfastmath/files/patch-makefile ============================================================================== --- head/math/tomsfastmath/files/patch-makefile Thu Sep 28 06:25:52 2017 (r450803) +++ head/math/tomsfastmath/files/patch-makefile Thu Sep 28 08:01:04 2017 (r450804) @@ -1,7 +1,23 @@ ---- makefile.orig Wed Apr 12 13:16:32 2006 -+++ makefile Wed Apr 12 13:16:48 2006 -@@ -11,7 +11,7 @@ endif +--- makefile.orig 2017-04-04 10:24:49 UTC ++++ makefile +@@ -10,12 +10,9 @@ ifndef PREFIX + PREFIX= + endif +-ifeq ($(CC),cc) +- CC = $(PREFIX)gcc +-endif +-LD=$(PREFIX)ld +-AR=$(PREFIX)ar +-RANLIB=$(PREFIX)ranlib ++LD=ld ++AR=ar ++RANLIB=ranlib + + ifndef MAKE + MAKE=make +@@ -39,7 +36,7 @@ CFLAGS += -g3 + else ifndef IGNORE_SPEED -CFLAGS += -O3 -funroll-loops @@ -9,7 +25,7 @@ #profiling #PROF=-pg -g -@@ -52,11 +52,11 @@ HEADERS=src/headers/tfm.h +@@ -83,11 +80,11 @@ HEADERS=src/headers/tfm_private.h $(HEAD #END_INS ifndef LIBPATH @@ -23,18 +39,3 @@ endif ifndef INSTALL_GROUP -@@ -82,10 +82,10 @@ $(LIBNAME): $(OBJECTS) - ranlib $@ - - install: $(LIBNAME) -- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(LIBPATH) -- install -d -g $(GROUP) -o $(USER) $(DESTDIR)$(INCPATH) -- install -g $(GROUP) -o $(USER) $(LIBNAME) $(DESTDIR)$(LIBPATH) -- install -g $(GROUP) -o $(USER) $(HEADERS) $(DESTDIR)$(INCPATH) -+ install -d $(DESTDIR)$(LIBPATH) -+ install -d $(DESTDIR)$(INCPATH) -+ install -m 644 $(LIBNAME) $(DESTDIR)$(LIBPATH) -+ install -m 644 $(HEADERS) $(DESTDIR)$(INCPATH) - - mtest/mtest: mtest/mtest.o - cd mtest ; CFLAGS="$(CFLAGS) -I../" MAKE=${MAKE} ${MAKE} mtest