svn commit: r450804 - in head/math/tomsfastmath: . files
Pietro Cerutti
gahr at FreeBSD.org
Thu Sep 28 08:01:06 UTC 2017
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 at 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 <bsd.port.post.mk>
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
More information about the svn-ports-all
mailing list