Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2007 04:52:54 +0100 (CET)
From:      Martin Tournoij <carpetsmoker@xs4all.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/110312: Update: math/mpexpr
Message-ID:  <20070315035254.88B63B82B@glitch.carpetsmoker.net>
Resent-Message-ID: <200703150400.l2F40Bch065881@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         110312
>Category:       ports
>Synopsis:       Update: math/mpexpr
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 04:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Martin Tournoij
>Release:        FreeBSD 6.2-RELEASE-p1 i386
>Organization:
>Environment:
FreeBSD glitch.carpetsmoker.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Thu Feb 15 20:56:16 CET 2007 carpetsmoker@glitch.carpetsmoker.net:/usr/obj/nfs/tinderbox/jails/6.2/src/sys/GENERICri386

>Description:

- Update to 1.1
- Take maintainership

>How-To-Repeat:

>Fix:

--- patch-mpexpr begins here ---
diff -urN /usr/ports/math/mpexpr/Makefile ./Makefile
--- /usr/ports/math/mpexpr/Makefile	Tue Sep  5 06:35:45 2006
+++ ./Makefile	Thu Mar 15 04:41:38 2007
@@ -6,24 +6,32 @@
 #
 
 PORTNAME=	mpexpr
-PORTVERSION=	1.0
-CATEGORIES=	math tcl83
+PORTVERSION=	1.1
+CATEGORIES=	math tcl84
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	mpexpr
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	carpetsmoker@xs4all.nl
 COMMENT=	Multiple precision math for Tcl
 
-WRKSRC=		${WRKDIR}/mpexpr-1.0/unix
-
-CONFIGURE_ARGS=	--prefix=${PREFIX} \
-		--exec-prefix=${PREFIX}
-
-USE_TCL=	83
-USE_TCL_BUILD=	83
+WRKSRC=		${WRKDIR}/${DISTNAME}/unix
+PATCH_WRKSRC=	${WRKDIR}/${DISTNAME}
+USE_TCL=	yes
+USE_TCL_BUILD=	yes
 GNU_CONFIGURE=	yes
+USE_GMAKE=	yes
+CONFIGURE_ARGS=	--prefix=${PREFIX}
 INSTALLS_SHLIB=	yes
 
+PLIST_DIRS=	lib/Mpexpr10
+PLIST_FILES=	lib/libMpexpr10.so \
+		lib/Mpexpr10/pkgIndex.tcl
 MANN=		mpexpr.n
+
+do-install:
+	${MKDIR} ${PREFIX}/lib/Mpexpr10
+	${INSTALL_PROGRAM} ${WRKSRC}/libMpexpr10.so ${PREFIX}/lib/
+	${INSTALL_DATA} ${WRKSRC}/pkgIndex.tcl ${PREFIX}/lib/Mpexpr10/
+	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/doc/mpexpr.man ${PREFIX}/man/mann/mpexpr.n
 
 .include <bsd.port.mk>
diff -urN /usr/ports/math/mpexpr/distinfo ./distinfo
--- /usr/ports/math/mpexpr/distinfo	Sun Jan 22 13:56:33 2006
+++ ./distinfo	Thu Mar 15 04:41:38 2007
@@ -1,3 +1,3 @@
-MD5 (mpexpr-1.0.tar.gz) = 7978df5a42de32215b0d2f559cd55071
-SHA256 (mpexpr-1.0.tar.gz) = ddf354aeb1c2de4dfd3b2ebc962ae6917c0a146eb365c4536a4d3ab9e9070a96
-SIZE (mpexpr-1.0.tar.gz) = 216954
+MD5 (mpexpr-1.1.tar.gz) = 4b400755412235ab5c3f452870778aeb
+SHA256 (mpexpr-1.1.tar.gz) = 7fc81ef9a213591c0c03939f18acfc0e1e4ddadf3a2c225450d148ffc26a877b
+SIZE (mpexpr-1.1.tar.gz) = 231911
diff -urN /usr/ports/math/mpexpr/files/patch-aa ./files/patch-aa
--- /usr/ports/math/mpexpr/files/patch-aa	Mon Oct  6 04:43:46 2003
+++ ./files/patch-aa	Thu Jan  1 01:00:00 1970
@@ -1,51 +0,0 @@
-*** configure.orig	Fri Dec  4 16:04:23 1998
---- configure	Fri May 11 17:31:55 2001
-***************
-*** 21,26 ****
---- 21,28 ----
-  # Initialize some variables set by options.
-  # The variables have the same names as the options, with
-  # dashes changed to underlines.
-+ TCL_EXEC=tclsh8.3
-+ WISH_EXEC=wish8.3
-  build=NONE
-  cache_file=./config.cache
-  exec_prefix=NONE
-***************
-*** 704,711 ****
-  
-  # find include/tcl.h
-  for f in $prefix_locations ; do
-!   if test -r "$f/include/tcl.h"; then
-!     TCL_INC_DIR=$f/include
-      echo "$ac_t""setting TCL_INC_DIR to $TCL_INC_DIR" 1>&6
-      break
-    fi
---- 706,713 ----
-  
-  # find include/tcl.h
-  for f in $prefix_locations ; do
-!   if test -r "$f/include/tcl8.3/tcl.h"; then
-!     TCL_INC_DIR=$f/include/tcl8.3
-      echo "$ac_t""setting TCL_INC_DIR to $TCL_INC_DIR" 1>&6
-      break
-    fi
-***************
-*** 713,720 ****
-   
-  # find lib/tclConfig.sh
-  for f in $exec_prefix_locations ; do
-!   if test -r "$f/lib/tclConfig.sh"; then
-!     TCL_LIB_DIR=$f/lib
-      echo "$ac_t""setting TCL_LIB_DIR to $TCL_LIB_DIR" 1>&6
-      break
-    fi
---- 715,722 ----
-   
-  # find lib/tclConfig.sh
-  for f in $exec_prefix_locations ; do
-!   if test -r "$f/lib/tcl8.3/tclConfig.sh"; then
-!     TCL_LIB_DIR=$f/lib/tcl8.3
-      echo "$ac_t""setting TCL_LIB_DIR to $TCL_LIB_DIR" 1>&6
-      break
-    fi
diff -urN /usr/ports/math/mpexpr/files/patch-ab ./files/patch-ab
--- /usr/ports/math/mpexpr/files/patch-ab	Mon Oct  6 04:43:46 2003
+++ ./files/patch-ab	Thu Jan  1 01:00:00 1970
@@ -1,100 +0,0 @@
-*** Makefile.in.orig	Fri Dec  4 16:04:23 1998
---- Makefile.in	Thu Feb 27 18:37:45 2003
-***************
-*** 83,95 ****
-  #------------------------------------------------------------------------------
-  # define names for Mpexpr tclsh/tcl executable
-  
-! TCL_EXEC   = tclsh
-  TCLX_EXEC  = tcl
-  
-  #------------------------------------------------------------------------------
-  # define name for Mpexpr wish/wishx executable
-  
-! WISH_EXEC  = wish
-  WISHX_EXEC = wishx
-  
-  #------------------------------------------------------------------------------
---- 83,95 ----
-  #------------------------------------------------------------------------------
-  # define names for Mpexpr tclsh/tcl executable
-  
-! TCL_EXEC   = tclsh8.3
-  TCLX_EXEC  = tcl
-  
-  #------------------------------------------------------------------------------
-  # define name for Mpexpr wish/wishx executable
-  
-! WISH_EXEC  = wish8.3
-  WISHX_EXEC = wishx
-  
-  #------------------------------------------------------------------------------
-***************
-*** 210,226 ****
-  # a make clobber and try LITTLE_ENDIAN.  If that fails, ask a wizard
-  # for help.
-  #
-! BYTE_ORDER=
-  #BYTE_ORDER= BIG_ENDIAN
-! #BYTE_ORDER= LITTLE_ENDIAN
-  
-  # Determine the number of bits in a long
-  #
-  # If in doubt, leave LONG_BITS empty.  This makefile will run
-  # the longbits program to determine the length.
-  #
-! LONG_BITS=
-! #LONG_BITS= 32
-  #LONG_BITS= 64
-  
-  
---- 210,226 ----
-  # a make clobber and try LITTLE_ENDIAN.  If that fails, ask a wizard
-  # for help.
-  #
-! #BYTE_ORDER=
-  #BYTE_ORDER= BIG_ENDIAN
-! BYTE_ORDER= LITTLE_ENDIAN
-  
-  # Determine the number of bits in a long
-  #
-  # If in doubt, leave LONG_BITS empty.  This makefile will run
-  # the longbits program to determine the length.
-  #
-! #LONG_BITS=
-! LONG_BITS= 32
-  #LONG_BITS= 64
-  
-  
-***************
-*** 473,486 ****
-  #------------------------------------------------------------------------------
-  # install targets
-  
-! install:	@INSTALL_TARGET@  install-man install-tools
-  
-  install-shared:	$(LIB_SH_MPEXPR)   
-  	@echo installing $(LIB_SH_MPEXPR)
-  	$(INSTALL_PROGRAM) $(LIB_SH_MPEXPR)  $(LIB_DIR)/$(LIB_SH_MPEXPR)
-  	@echo installing pkgIndex.tcl
-  	-mkdir $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER)
-! 	$(INSTALL_PROGRAM) pkgIndex.tcl  $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER)/pkgIndex.tcl
-  
-  install-static:	@PROGS@   $(LIB_MPEXPR)
-  	@for f in $(T_EXEC) $(W_EXEC) ; do  \
---- 473,487 ----
-  #------------------------------------------------------------------------------
-  # install targets
-  
-! #install:	@INSTALL_TARGET@  install-man install-tools
-! install:	@INSTALL_TARGET@  install-man
-  
-  install-shared:	$(LIB_SH_MPEXPR)   
-  	@echo installing $(LIB_SH_MPEXPR)
-  	$(INSTALL_PROGRAM) $(LIB_SH_MPEXPR)  $(LIB_DIR)/$(LIB_SH_MPEXPR)
-  	@echo installing pkgIndex.tcl
-  	-mkdir $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER)
-! 	$(INSTALL_DATA) pkgIndex.tcl  $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER)/pkgIndex.tcl
-  
-  install-static:	@PROGS@   $(LIB_MPEXPR)
-  	@for f in $(T_EXEC) $(W_EXEC) ; do  \
diff -urN /usr/ports/math/mpexpr/files/patch-generic-mpexpr.h ./files/patch-generic-mpexpr.h
--- /usr/ports/math/mpexpr/files/patch-generic-mpexpr.h	Thu Jan  1 01:00:00 1970
+++ ./files/patch-generic-mpexpr.h	Thu Mar 15 04:41:38 2007
@@ -0,0 +1,13 @@
+--- generic/mpexpr.h.orig	Thu Mar 15 03:21:12 2007
++++ generic/mpexpr.h	Thu Mar 15 03:21:46 2007
+@@ -100,8 +100,8 @@
+ 
+ /* mpexpr  tcl command procs */
+ 
+-EXTERN Tcl_CmdProc      Mp_ExprCmd;
+-EXTERN Tcl_CmdProc      Mp_FormatCmd;
++EXTERN int Mp_ExprCmd(ClientData, Tcl_Interp *interp, int argc, char **argv);
++EXTERN int Mp_FormatCmd(ClientData, Tcl_Interp *interp, int argc, char **argv);
+ 
+ 
+ #endif 
diff -urN /usr/ports/math/mpexpr/files/patch-unix-Makefile.in ./files/patch-unix-Makefile.in
--- /usr/ports/math/mpexpr/files/patch-unix-Makefile.in	Thu Jan  1 01:00:00 1970
+++ ./files/patch-unix-Makefile.in	Thu Mar 15 04:41:38 2007
@@ -0,0 +1,58 @@
+--- unix/Makefile.in.orig	Tue Jun  8 04:16:40 2004
++++ unix/Makefile.in	Thu Mar 15 03:28:30 2007
+@@ -92,13 +92,13 @@
+ #------------------------------------------------------------------------------
+ # define names for Mpexpr tclsh/tcl executable
+ 
+-TCL_EXEC   = tclsh
++TCL_EXEC   = tclsh8.4
+ TCLX_EXEC  = tcl
+ 
+ #------------------------------------------------------------------------------
+ # define name for Mpexpr wish/wishx executable
+ 
+-WISH_EXEC  = wish
++WISH_EXEC  = wish8.4
+ WISHX_EXEC = wishx
+ 
+ #------------------------------------------------------------------------------
+@@ -219,17 +219,17 @@
+ # a make clobber and try LITTLE_ENDIAN.  If that fails, ask a wizard
+ # for help.
+ #
+-BYTE_ORDER=
++#BYTE_ORDER=
+ #BYTE_ORDER= BIG_ENDIAN
+-#BYTE_ORDER= LITTLE_ENDIAN
++BYTE_ORDER= LITTLE_ENDIAN
+ 
+ # Determine the number of bits in a long
+ #
+ # If in doubt, leave LONG_BITS empty.  This makefile will run
+ # the longbits program to determine the length.
+ #
+-LONG_BITS=
+-#LONG_BITS= 32
++#LONG_BITS=
++LONG_BITS= 32
+ #LONG_BITS= 64
+ 
+ 
+@@ -402,14 +402,15 @@
+ #------------------------------------------------------------------------------
+ # install targets
+ 
+-install:	@INSTALL_TARGET@  install-man install-tools
++#install:	@INSTALL_TARGET@  install-man install-tools
++install:	@INSTALL_TARGET@  install-man
+ 
+ install-shared:	$(LIB_SH_MPEXPR)   
+ 	@echo installing $(LIB_SH_MPEXPR)
+ 	$(INSTALL_PROGRAM) $(LIB_SH_MPEXPR)  $(LIB_DIR)/$(LIB_SH_MPEXPR)
+ 	@echo installing pkgIndex.tcl
+ 	-mkdir $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER)
+-	$(INSTALL_PROGRAM) pkgIndex.tcl  $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER)/pkgIndex.tcl
++	$(INSTALL_DATA) pkgIndex.tcl  $(LIB_DIR)/Mpexpr$(MPEXPR_LIBVER)/pkgIndex.tcl
+ 
+ install-static:	@PROGS@   $(LIB_MPEXPR)
+ 	@for f in $(T_EXEC) $(W_EXEC) ; do  \
diff -urN /usr/ports/math/mpexpr/files/patch-unix-configure ./files/patch-unix-configure
--- /usr/ports/math/mpexpr/files/patch-unix-configure	Thu Jan  1 01:00:00 1970
+++ ./files/patch-unix-configure	Thu Mar 15 04:41:38 2007
@@ -0,0 +1,33 @@
+--- unix/configure.orig	Thu Mar 15 03:26:26 2007
++++ unix/configure	Thu Mar 15 03:25:16 2007
+@@ -23,6 +23,8 @@
+ # Initialize some variables set by options.
+ # The variables have the same names as the options, with
+ # dashes changed to underlines.
++TCL_EXEC=tclsh8.4
++WISH_EXEC=wish8.4
+ build=NONE
+ cache_file=./config.cache
+ exec_prefix=NONE
+@@ -735,8 +737,8 @@
+ 
+ # find include/tcl.h
+ for f in $with_tclpath $prefix_locations ; do
+-  if test -r "$f/include/tcl.h"; then
+-    TCL_INC_DIR=$f/include
++  if test -r "$f/include/tcl8.4/tcl.h"; then
++    TCL_INC_DIR=$f/include/tcl8.4
+     echo "$ac_t""setting TCL_INC_DIR to $TCL_INC_DIR" 1>&6
+     break
+   fi
+@@ -744,8 +746,8 @@
+  
+ # find lib/tclConfig.sh
+ for f in $with_tclpath $exec_prefix_locations ; do
+-  if test -r "$f/lib/tclConfig.sh"; then
+-    TCL_LIB_DIR=$f/lib
++  if test -r "$f/lib/tcl8.4/tclConfig.sh"; then
++    TCL_LIB_DIR=$f/lib/tcl8.4
+     echo "$ac_t""setting TCL_LIB_DIR to $TCL_LIB_DIR" 1>&6
+     break
+   fi
--- patch-mpexpr ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:
 



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