Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2016 07:38:44 +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: r422247 - in head/math/mpexpr: . files
Message-ID:  <201609160738.u8G7cifZ003397@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Fri Sep 16 07:38:43 2016
New Revision: 422247
URL: https://svnweb.freebsd.org/changeset/ports/422247

Log:
  math/mpexpr: update to 1.2

Added:
  head/math/mpexpr/files/patch-generic_endian.c   (contents, props changed)
  head/math/mpexpr/files/patch-generic_mpiface.c   (contents, props changed)
Deleted:
  head/math/mpexpr/files/patch-generic-mpexpr.h
  head/math/mpexpr/files/patch-generic_mpexpr.c
  head/math/mpexpr/files/patch-generic_mpparse.c
Modified:
  head/math/mpexpr/Makefile
  head/math/mpexpr/distinfo
  head/math/mpexpr/files/patch-unix-Makefile.in
  head/math/mpexpr/files/patch-unix-configure

Modified: head/math/mpexpr/Makefile
==============================================================================
--- head/math/mpexpr/Makefile	Fri Sep 16 07:38:26 2016	(r422246)
+++ head/math/mpexpr/Makefile	Fri Sep 16 07:38:43 2016	(r422247)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mpexpr
-PORTVERSION=	1.1
+PORTVERSION=	1.2
 CATEGORIES=	math tcl
 MASTER_SITES=	SF
 
@@ -23,8 +23,8 @@ CONFIGURE_ARGS=	--prefix=${PREFIX} \
 CONFIGURE_ENV+=	TCL_INC_DIR=${TCL_INCLUDEDIR} \
 		TCL_LIB_DIR=${TCL_LIBDIR}
 
-PLIST_FILES=	lib/Mpexpr10/libMpexpr10.so \
-		lib/Mpexpr10/pkgIndex.tcl \
+PLIST_FILES=	lib/Mpexpr12/libMpexpr12.so \
+		lib/Mpexpr12/pkgIndex.tcl \
 		man/mann/mpexpr.n.gz
 
 post-patch:
@@ -32,12 +32,12 @@ post-patch:
 	${REINPLACE_CMD} -e '/set VERBOSE/s|0|1|' ${WRKSRC}/../tests/defs
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/Mpexpr10
-	${INSTALL_PROGRAM} ${WRKSRC}/libMpexpr10.so ${STAGEDIR}${PREFIX}/lib/Mpexpr10
-	${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/Mpexpr10
+	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/Mpexpr12
+	${INSTALL_PROGRAM} ${WRKSRC}/libMpexpr12.so ${STAGEDIR}${PREFIX}/lib/Mpexpr12
+	${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${STAGEDIR}${PREFIX}/lib/Mpexpr12
 	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/mpexpr.man ${STAGEDIR}${PREFIX}/man/mann/mpexpr.n
 
-regression-test: build
+do-test: build
 	cd ${WRKSRC} && ${MAKE_CMD} test
 
 .include <bsd.port.mk>

Modified: head/math/mpexpr/distinfo
==============================================================================
--- head/math/mpexpr/distinfo	Fri Sep 16 07:38:26 2016	(r422246)
+++ head/math/mpexpr/distinfo	Fri Sep 16 07:38:43 2016	(r422247)
@@ -1,2 +1,3 @@
-SHA256 (mpexpr-1.1.tar.gz) = 7fc81ef9a213591c0c03939f18acfc0e1e4ddadf3a2c225450d148ffc26a877b
-SIZE (mpexpr-1.1.tar.gz) = 231911
+TIMESTAMP = 1474011027
+SHA256 (mpexpr-1.2.tar.gz) = 616397bb21823ea7d4527d61a19064012764025e429bfebc432f83116809682f
+SIZE (mpexpr-1.2.tar.gz) = 264067

Added: head/math/mpexpr/files/patch-generic_endian.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/mpexpr/files/patch-generic_endian.c	Fri Sep 16 07:38:43 2016	(r422247)
@@ -0,0 +1,11 @@
+--- generic/endian.c.orig	2016-09-16 07:35:45 UTC
++++ generic/endian.c
+@@ -35,7 +35,7 @@
+ char byte[8] = { (char)0x12, (char)0x36, (char)0x48, (char)0x59,
+ 		 (char)0x01, (char)0x23, (char)0x45, (char)0x67 };
+ 
+-main()
++int main()
+ {
+     /* pointers into the byte order array */
+     int *intp = (int *)byte;

Added: head/math/mpexpr/files/patch-generic_mpiface.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/mpexpr/files/patch-generic_mpiface.c	Fri Sep 16 07:38:43 2016	(r422247)
@@ -0,0 +1,11 @@
+--- generic/mpiface.c.orig	2016-09-16 07:36:35 UTC
++++ generic/mpiface.c
+@@ -69,7 +69,7 @@ Mpexpr_Init (interp)
+     Tcl_Interp *interp;
+ {
+     Mp_Data *mdPtr;
+-    static initialized = 0;
++    static int initialized = 0;
+     TCL_DECLARE_MUTEX(mpMutex)
+ 
+     if (!initialized) {

Modified: head/math/mpexpr/files/patch-unix-Makefile.in
==============================================================================
--- head/math/mpexpr/files/patch-unix-Makefile.in	Fri Sep 16 07:38:26 2016	(r422246)
+++ head/math/mpexpr/files/patch-unix-Makefile.in	Fri Sep 16 07:38:43 2016	(r422247)
@@ -1,6 +1,6 @@
---- unix/Makefile.in.orig	2004-06-08 04:16:40.000000000 +0200
-+++ unix/Makefile.in	2013-11-06 15:14:48.000000000 +0100
-@@ -219,17 +219,17 @@
+--- unix/Makefile.in.orig	2016-09-15 16:44:37 UTC
++++ unix/Makefile.in
+@@ -219,17 +219,17 @@ all:	@PROGS@  
  # a make clobber and try LITTLE_ENDIAN.  If that fails, ask a wizard
  # for help.
  #

Modified: head/math/mpexpr/files/patch-unix-configure
==============================================================================
--- head/math/mpexpr/files/patch-unix-configure	Fri Sep 16 07:38:26 2016	(r422246)
+++ head/math/mpexpr/files/patch-unix-configure	Fri Sep 16 07:38:43 2016	(r422247)
@@ -1,6 +1,6 @@
---- unix/configure.orig	2013-11-06 15:39:52.000000000 +0100
-+++ unix/configure	2013-11-06 15:39:52.000000000 +0100
-@@ -23,6 +23,8 @@
+--- unix/configure.orig	2013-05-09 14:28:39 UTC
++++ unix/configure
+@@ -23,6 +23,8 @@ ac_help="$ac_help
  # Initialize some variables set by options.
  # The variables have the same names as the options, with
  # dashes changed to underlines.
@@ -9,7 +9,7 @@
  build=NONE
  cache_file=./config.cache
  exec_prefix=NONE
-@@ -733,24 +735,6 @@
+@@ -733,24 +735,6 @@ if test "${with_tcl+set}" = set; then
  fi
  
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609160738.u8G7cifZ003397>