Date: Fri, 15 Sep 2017 11:27:05 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449901 - in head/math/libtommath: . files Message-ID: <201709151127.v8FBR5o1031714@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gahr Date: Fri Sep 15 11:27:05 2017 New Revision: 449901 URL: https://svnweb.freebsd.org/changeset/ports/449901 Log: math/libtommath: update to 1.0.1, take maintainership Added: head/math/libtommath/files/patch-makefile__include.mk - copied, changed from r449900, head/math/libtommath/files/patch-makefile.include Deleted: head/math/libtommath/files/patch-makefile.include Modified: head/math/libtommath/Makefile head/math/libtommath/distinfo Modified: head/math/libtommath/Makefile ============================================================================== --- head/math/libtommath/Makefile Fri Sep 15 11:06:07 2017 (r449900) +++ head/math/libtommath/Makefile Fri Sep 15 11:27:05 2017 (r449901) @@ -1,40 +1,48 @@ # $FreeBSD$ PORTNAME= libtommath -PORTVERSION= 1.0 +PORTVERSION= 1.0.1 CATEGORIES= math MASTER_SITES= https://github.com/libtom/libtommath/releases/download/v${PORTVERSION}/ DISTNAME= ltm-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@FreeBSD.org COMMENT= Comprehensive, modular, and portable mathematical routines +LICENSE= PD WTFPL +LICENSE_COMB= dual + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USES= gmake tar:xz ALL_TARGET= default CFLAGS+= -fPIC PORTDOCS= * -PLIST_FILES= include/tommath.h include/tommath_class.h \ - include/tommath_superclass.h lib/libtommath.a +PLIST_FILES= include/tommath.h \ + include/tommath_class.h \ + include/tommath_superclass.h \ + lib/libtommath.a \ + libdata/pkgconfig/libtommath.pc OPTIONS_DEFINE= DOCS SHARED -SHARED_DESC= Build shared library +SHARED_DESC= Build shared library SHARED_USES= libtool:build SHARED_USE= LDCONFIG=yes -SHARED_PLIST_FILES= lib/libtommath.so lib/libtommath.so.1 lib/libtommath.so.1.0.0 +SHARED_PLIST_FILES= lib/libtommath.so \ + lib/libtommath.so.${PORTVERSION:R:R} \ + lib/libtommath.so.${PORTVERSION} SHARED_VARS= MAKEFILE=makefile.shared SHARED_VARS_OFF= MAKEFILE=makefile post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/bn.pdf ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/poster.pdf ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/tommath.pdf ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/bn.pdf ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/poster.pdf ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/tommath.pdf ${STAGEDIR}${DOCSDIR} post-install-SHARED-on: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtommath.so.1 + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtommath.so.${PORTVERSION} do-test: (cd ${WRKSRC}; \ Modified: head/math/libtommath/distinfo ============================================================================== --- head/math/libtommath/distinfo Fri Sep 15 11:06:07 2017 (r449900) +++ head/math/libtommath/distinfo Fri Sep 15 11:27:05 2017 (r449901) @@ -1,2 +1,3 @@ -SHA256 (ltm-1.0.tar.xz) = 993a7df9ee091fca430cdde3263df57d88ef62af8103903214da49fc51bbb56c -SIZE (ltm-1.0.tar.xz) = 2191540 +TIMESTAMP = 1505472472 +SHA256 (ltm-1.0.1.tar.xz) = 47032fb39d698ce4cf9c9c462c198e6b08790ce8203ad1224086b9b978636c69 +SIZE (ltm-1.0.1.tar.xz) = 2210120 Copied and modified: head/math/libtommath/files/patch-makefile__include.mk (from r449900, head/math/libtommath/files/patch-makefile.include) ============================================================================== --- head/math/libtommath/files/patch-makefile.include Fri Sep 15 11:06:07 2017 (r449900, copy source) +++ head/math/libtommath/files/patch-makefile__include.mk Fri Sep 15 11:27:05 2017 (r449901) @@ -1,47 +1,34 @@ ---- makefile.include.orig 2016-02-03 18:07:27 UTC -+++ makefile.include -@@ -14,15 +14,15 @@ ifndef PREFIX - PREFIX= +--- makefile_include.mk.orig 2017-08-29 20:27:36 UTC ++++ makefile_include.mk +@@ -17,16 +17,16 @@ ifndef CROSS_COMPILE + CROSS_COMPILE= endif -ifeq ($(CC),cc) -- CC = $(PREFIX)gcc +- CC = $(CROSS_COMPILE)gcc -endif --LD=$(PREFIX)ld --AR=$(PREFIX)ar --RANLIB=$(PREFIX)ranlib +#ifeq ($(CC),cc) -+# CC = $(PREFIX)gcc ++# CC = $(CROSS_COMPILE)gcc +#endif -+#LD=$(PREFIX)ld -+AR=$(shell which ar) -+RANLIB=$(shell which ranlib) + LD=$(CROSS_COMPILE)ld + AR=$(CROSS_COMPILE)ar + RANLIB=$(CROSS_COMPILE)ranlib - ifndef MAKE +-ifndef MAKE - MAKE=make -+ MAKE=$(shell which gmake) - endif +-endif ++#ifndef MAKE ++# MAKE=make ++#endif CFLAGS += -I./ -Wall -Wsign-compare -Wextra -Wshadow -@@ -55,7 +55,7 @@ endif # COMPILE_SIZE - endif # COMPILE_DEBUG +@@ -65,7 +65,7 @@ CFLAGS += -Wno-nullability-completeness + endif + # adjust coverage set -ifneq ($(filter $(shell arch), i386 i686 x86_64 amd64 ia64),) +ifneq ($(filter $(shell /sbin/sysctl -b hw.machine_arch), i386 i686 x86_64 amd64 ia64),) COVERAGE = test_standalone timing COVERAGE_APP = ./test && ./ltmtest else -@@ -71,9 +71,9 @@ test_standalone: CFLAGS+=-DLTM_DEMO_TEST - #LIBPATH-The directory for libtommath to be installed to. - #INCPATH-The directory to install the header files for libtommath. - #DATAPATH-The directory to install the pdf docs. --LIBPATH?=/usr/lib --INCPATH?=/usr/include --DATAPATH?=/usr/share/doc/libtommath/pdf -+LIBPATH?=$(PREFIX)/lib -+INCPATH?=$(PREFIX)/include -+DATAPATH?=$(DOCSDIR)/pdf - - #make the code coverage of the library - #
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709151127.v8FBR5o1031714>